473,659 Members | 2,632 Online
Bytes | Software Development & Data Engineering Community
+ 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 axShockwaveFlas h1_FSCommand(By Val sender As Object, ByVal
e As _
AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven t) _
Handles axShockwaveFlas h1.FSCommand

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

Case "yourCustomFSCo mmandName"
' Output the arguments
MessageBox.Show ("The Arguments were: " & e.args)
Case "anotherCustomF SCommandName"
' etc.
End Select
End Sub

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

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

Additional information: Could not load type
AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven tHandler
from assembly AxInterop.Shock waveFlashObject s, Version=1.0.0.0 ,
Culture=neutral , PublicKeyToken= null.
arrrrrrrrrrrrgg gggggggghhhhhh

Has anyone else had this problem, or know how to solve it?
Nov 21 '05 #1
3 4227
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.goog le.com...
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 axShockwaveFlas h1_FSCommand(By Val sender As Object, ByVal
e As _
AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven t) _
Handles axShockwaveFlas h1.FSCommand

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

Case "yourCustomFSCo mmandName"
' Output the arguments
MessageBox.Show ("The Arguments were: " & e.args)
Case "anotherCustomF SCommandName"
' etc.
End Select
End Sub

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

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

Additional information: Could not load type
AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven tHandler
from assembly AxInterop.Shock waveFlashObject s, Version=1.0.0.0 ,
Culture=neutral , PublicKeyToken= null.
arrrrrrrrrrrrgg gggggggghhhhhh

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******* *******@tk2msft ngp13.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.goog le.com...
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 axShockwaveFlas h1_FSCommand(By Val sender As Object, ByVal
e As _
AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven t) _
Handles axShockwaveFlas h1.FSCommand

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

Case "yourCustomFSCo mmandName"
' Output the arguments
MessageBox.Show ("The Arguments were: " & e.args)
Case "anotherCustomF SCommandName"
' etc.
End Select
End Sub

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

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

Additional information: Could not load type
AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven tHandler
from assembly AxInterop.Shock waveFlashObject s, Version=1.0.0.0 ,
Culture=neutral , PublicKeyToken= null.
arrrrrrrrrrrrgg gggggggghhhhhh

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.goo gle.com...
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******* *******@tk2msft ngp13.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.goog le.com...
> 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 axShockwaveFlas h1_FSCommand(By Val sender As Object, ByVal
> e As _
> AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven t) _
> Handles axShockwaveFlas h1.FSCommand
>
> ' Use a select case statement to filter the command being passed
> through
> Select Case e.command
>
> Case "yourCustomFSCo mmandName"
> ' Output the arguments
> MessageBox.Show ("The Arguments were: " & e.args)
> Case "anotherCustomF SCommandName"
> ' etc.
> End Select
> End Sub
>
> Now when I try to run my code, I get the following error:
>
> An unhandled exception of type 'System.TypeLoa dException' occurred in
> program.exe
>
> Additional information: Could not load type
> AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven tHandler
> from assembly AxInterop.Shock waveFlashObject s, Version=1.0.0.0 ,
> Culture=neutral , PublicKeyToken= null.
>
>
> arrrrrrrrrrrrgg gggggggghhhhhh
>
> 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
1694
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 quite sure whether this is a CSS problem - even though it seems so - , as on some pages regular images refuse to appear automatically also. The stylesheet can be found at http://www.laiverd.com/groundzero/anima/include/style/style_screen.css Would...
2
4072
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 suggestions? Can anyone help? www.hyperion-interactive.com/test (There's a Flash sniffer first) Thanks in advance to anyone that has any pointers. Chris
10
1600
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 production server. Recently, I have needed to collaborate with other developers using Source Safe. But, in order to get source safe working properly, you really need to be working in virtual directories of the default web site.
5
12047
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 correctly, but when I click on a link within the flash object the WebBrowser often fails to navigate to the new page. If I use IE6 (from outside by app) or an AxSHDocVw.AxWebBrowser control (within my app) then everything works as expected. You can...
2
5876
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 .swf file to continuously loop, secondly i need this same file to play on every page visited on the site. I've researched and tried to just follow examples but each time there's no loop. The file plays once every time the page loads and then ends. ...
1
2222
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 solution. The problems are two fold.
7
1174
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. We're building this site to improve learning, so feedback on improvements and how to get this into the hands of developers is much appreciated. Feel free to email me too- elizabeth@yoyobrain.com...
2
1216
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 with ActionScript 1.0. I have a form already made on the site (under contact us) but whatever I do....I can't make it work! I use GoDaddy and their gdform.psp is what they provide but they don't give the code in flash. I downloaded some different...
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8751
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8539
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7360
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2759
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.