D
Dave
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_FSCommandEvent) _
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_FSCommandEventHandler
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?
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_FSCommandEvent) _
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_FSCommandEventHandler
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?