473,466 Members | 1,378 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

More problems communicating between flash and vb.net

Hello everyone, its me again.

I have been stuck on this problem forever, and cannot find any
documentation or any help to solve it. From what I have seen online,
what I need to do should be pretty simple, but I am running into
problems with everything I read or try.

I have a flash movie inside of a vb.net application. That part works
fine. The part that I am having problems with is passing information
from the flash movie to the vb application. I have tried using
externalEvent, that has done nothing but waste time. I found a site
that shows how to do it with FSCommand. I have implemented the
function on the site. Here it is:

Private Sub axShockwaveFlash1_FSCommand(ByVal sender As Object, ByVal
e As _
AxShockwaveFlashObjects._IShockwaveFlashEvents_FSC ommandEvent) _
Handles axShockwaveFlash1.FSCommand

' Use a select case statement to filter the command being passed
through
Select Case e.command

Case "yourCustomFSCommandName"
' Output the arguments
MessageBox.Show("The Arguments were: " & e.args)
Case "anotherCustomFSCommandName"
' etc.
End Select
End Sub

Now when I try to run my code, I get the following error:

An unhandled exception of type 'System.TypeLoadException' occurred in
program.exe

Additional information: Could not load type
AxShockwaveFlashObjects._IShockwaveFlashEvents_FSC ommandEventHandler
from assembly AxInterop.ShockwaveFlashObjects, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null.
arrrrrrrrrrrrgggggggggghhhhhh

Has anyone else had this problem, or know how to solve it?
Nov 21 '05 #1
3 4213
Hi Dave,
I used flash with some other languages like VB6 and Delphi and i (((
think ))) with the info you provided that the problem is in the .net
Framework translation of the Type Library. this is not a problrm of your
coding this is with the framework.

"Dave" <go********@aol.com> wrote in message
news:3c*************************@posting.google.co m...
Hello everyone, its me again.

I have been stuck on this problem forever, and cannot find any
documentation or any help to solve it. From what I have seen online,
what I need to do should be pretty simple, but I am running into
problems with everything I read or try.

I have a flash movie inside of a vb.net application. That part works
fine. The part that I am having problems with is passing information
from the flash movie to the vb application. I have tried using
externalEvent, that has done nothing but waste time. I found a site
that shows how to do it with FSCommand. I have implemented the
function on the site. Here it is:

Private Sub axShockwaveFlash1_FSCommand(ByVal sender As Object, ByVal
e As _
AxShockwaveFlashObjects._IShockwaveFlashEvents_FSC ommandEvent) _
Handles axShockwaveFlash1.FSCommand

' Use a select case statement to filter the command being passed
through
Select Case e.command

Case "yourCustomFSCommandName"
' Output the arguments
MessageBox.Show("The Arguments were: " & e.args)
Case "anotherCustomFSCommandName"
' etc.
End Select
End Sub

Now when I try to run my code, I get the following error:

An unhandled exception of type 'System.TypeLoadException' occurred in
program.exe

Additional information: Could not load type
AxShockwaveFlashObjects._IShockwaveFlashEvents_FSC ommandEventHandler
from assembly AxInterop.ShockwaveFlashObjects, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null.
arrrrrrrrrrrrgggggggggghhhhhh

Has anyone else had this problem, or know how to solve it?

Nov 21 '05 #2
Hi Bishoy,

Thank you for your response. Do you know any way that I can get around
this problem? Is there an update for the library or possibly a way to
roll back to an earlier library?

Thanks

"Bishoy Ghaly" <de************@yahoo.co.uk> wrote in message news:<#M**************@tk2msftngp13.phx.gbl>...
Hi Dave,
I used flash with some other languages like VB6 and Delphi and i (((
think ))) with the info you provided that the problem is in the .net
Framework translation of the Type Library. this is not a problrm of your
coding this is with the framework.

"Dave" <go********@aol.com> wrote in message
news:3c*************************@posting.google.co m...
Hello everyone, its me again.

I have been stuck on this problem forever, and cannot find any
documentation or any help to solve it. From what I have seen online,
what I need to do should be pretty simple, but I am running into
problems with everything I read or try.

I have a flash movie inside of a vb.net application. That part works
fine. The part that I am having problems with is passing information
from the flash movie to the vb application. I have tried using
externalEvent, that has done nothing but waste time. I found a site
that shows how to do it with FSCommand. I have implemented the
function on the site. Here it is:

Private Sub axShockwaveFlash1_FSCommand(ByVal sender As Object, ByVal
e As _
AxShockwaveFlashObjects._IShockwaveFlashEvents_FSC ommandEvent) _
Handles axShockwaveFlash1.FSCommand

' Use a select case statement to filter the command being passed
through
Select Case e.command

Case "yourCustomFSCommandName"
' Output the arguments
MessageBox.Show("The Arguments were: " & e.args)
Case "anotherCustomFSCommandName"
' etc.
End Select
End Sub

Now when I try to run my code, I get the following error:

An unhandled exception of type 'System.TypeLoadException' occurred in
program.exe

Additional information: Could not load type
AxShockwaveFlashObjects._IShockwaveFlashEvents_FSC ommandEventHandler
from assembly AxInterop.ShockwaveFlashObjects, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null.
arrrrrrrrrrrrgggggggggghhhhhh

Has anyone else had this problem, or know how to solve it?

Nov 21 '05 #3
I think you can try update your version of Flash Player through Macromedia
web site, www.macromedia.com and try importing the TypeLibrary again to
refresh the translation or encapsulation.

--
Bishoy Ghaly
Delphi Developer
bi****@dev2dev.org
http://www.dev2dev.org

--
Bishoy Ghaly
Delphi Developer
bi****@dev2dev.org
http://www.dev2dev.org
"Dave" <go********@aol.com> wrote in message
news:3c**************************@posting.google.c om...
Hi Bishoy,

Thank you for your response. Do you know any way that I can get around
this problem? Is there an update for the library or possibly a way to
roll back to an earlier library?

Thanks

"Bishoy Ghaly" <de************@yahoo.co.uk> wrote in message
news:<#M**************@tk2msftngp13.phx.gbl>...
Hi Dave,
I used flash with some other languages like VB6 and Delphi and i (((
think ))) with the info you provided that the problem is in the .net
Framework translation of the Type Library. this is not a problrm of your
coding this is with the framework.

"Dave" <go********@aol.com> wrote in message
news:3c*************************@posting.google.co m...
> Hello everyone, its me again.
>
> I have been stuck on this problem forever, and cannot find any
> documentation or any help to solve it. From what I have seen online,
> what I need to do should be pretty simple, but I am running into
> problems with everything I read or try.
>
> I have a flash movie inside of a vb.net application. That part works
> fine. The part that I am having problems with is passing information
> from the flash movie to the vb application. I have tried using
> externalEvent, that has done nothing but waste time. I found a site
> that shows how to do it with FSCommand. I have implemented the
> function on the site. Here it is:
>
> Private Sub axShockwaveFlash1_FSCommand(ByVal sender As Object, ByVal
> e As _
> AxShockwaveFlashObjects._IShockwaveFlashEvents_FSC ommandEvent) _
> Handles axShockwaveFlash1.FSCommand
>
> ' Use a select case statement to filter the command being passed
> through
> Select Case e.command
>
> Case "yourCustomFSCommandName"
> ' Output the arguments
> MessageBox.Show("The Arguments were: " & e.args)
> Case "anotherCustomFSCommandName"
> ' etc.
> End Select
> End Sub
>
> Now when I try to run my code, I get the following error:
>
> An unhandled exception of type 'System.TypeLoadException' occurred in
> program.exe
>
> Additional information: Could not load type
> AxShockwaveFlashObjects._IShockwaveFlashEvents_FSC ommandEventHandler
> from assembly AxInterop.ShockwaveFlashObjects, Version=1.0.0.0,
> Culture=neutral, PublicKeyToken=null.
>
>
> arrrrrrrrrrrrgggggggggghhhhhh
>
> Has anyone else had this problem, or know how to solve it?

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Laiverd.COM | last post by:
Hi everybody, Since today the pages at http://www.laiverd.com/groundzero/anima have problems with the hover-styles in Netscape 7.1 (no problems in Mozilla, Firefox and IE on Windows). I am not...
2
by: Chris | last post by:
I'm desperately trying to get my site finished against the clock. It looks great in FF, Opera and IE6 but falls apart in IE5 and Safari. I HAVE to have it ok for IE5.x. Has anyone got any...
10
by: Shawn | last post by:
Hi, For a few years, I have been developing each of my clients websites using a seperate web site (unique IP) to solve problems with relative URL's between my local dev station and the...
5
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
I am having problems interacting with flash objects (i.e., Adobe Flash Player 9) in web pages when using a System.Windows.Forms.WebBrowser control. The flash objects always seem to display...
2
by: hayz | last post by:
Flash sound file looping problems hello there I'm definitely a newb so please bare some patience. I have a flash sound file on the index page of a site i'm working on. First off i need the...
1
by: terrybali | last post by:
Hi Guys I am new to forum and nontechnical. My site has several large flash files. I am looking for someone who can help us solve two problems. Willing to pay whatever normal rate is for this...
7
by: Elizabeth Barnwell | last post by:
This may be a useful tool to better understand & find Javascript concepts: http://www.yoyobrain.com/subjects/show/240 Add flashcards to your studies, click on cram with the learning wizard. ...
2
by: xxsassxx31 | last post by:
I want to say hello to all and thanks for letting me a part of this great forum. I am having some problems with my flash site (www.alliancedirect.net) and I am using Adobe Flash CS4 now with my site...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.