|
-
Sep 14th, 2003, 07:00 PM
#1
Thread Starter
New Member
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
Last edited by iaustin; Sep 15th, 2003 at 06:24 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|