playing flash in VB .NET Helppp!
Hello,
The code I'm using to play a flash swf movie in VB . NET is...
Dim vFile = "di7" & "." & "swf"
Private myTarget = "Application.StartupPath" & vFile
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
PrintStartupPath() 'worsk fine
Console.WriteLine(vFile)
AxShockwaveFlash1.LoadMovie(0, myTarget)
End Sub
Error received...
An unhandled exception of type 'System.NullReferenceException' occurred in axinterop.shockwaveflashobjects.dll
Can some show me exactly how to play a Flash swf in VB. NET - not VB6 but VB. NET.
I've tried...
the absolute path C:\myMoviePath...
the loadMovie(movie, taraget Path)...
and the AxShockwaveFlash2 this crashes vb. NET when ran-shuts it down
All samples I found are for VB6 not VB .NET
Any information will be greatly appreciated.
Thank You
iaustin
Re: playing flash in VB .NET Helppp!
Thanks for your sample code, but you code is very poor, i have the same problem but now my problem happens when i execute flash.callfunction("invoke"....bla..bla).
Do you have a vb.net sample code using flash.callfunction() function?
Please respond as soon as possible...
Paolo
Re: playing flash in VB .NET Helppp!
Quote:
Originally Posted by forkus2000
Thanks for your sample code, but you code is very poor, i have the same problem but now my problem happens when i execute flash.callfunction("invoke"....bla..bla).
Do you have a vb.net sample code using flash.callfunction() function?
Please respond as soon as possible...
Paolo
what a good way to start a conversation with someone, tell them their code is very poor, and then ask them for more code :sick:
Re: playing flash in VB .NET Helppp!
Sorry guys!!!
This is my first time, sorry again.
I try to find code for one week, i am disperate.
Sorry again :) :) :) :)