Results 1 to 5 of 5

Thread: playing flash in VB .NET Helppp!

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2003
    Posts
    2

    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.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Try this demo . Steps are included .
    Attached Files Attached Files

  3. #3
    New Member
    Join Date
    Dec 2006
    Posts
    2

    Lightbulb 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

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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

  5. #5
    New Member
    Join Date
    Dec 2006
    Posts
    2

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width