How Can I Use Flash file (swf) in my vb2005 project as a splash creen

I have created a project using vb2005, I want to make the splash screen as a flash file Instead of images.

How Can I do this




Answer this question

How Can I Use Flash file (swf) in my vb2005 project as a splash creen

  • Ken Faw

    Not specifically VB2005 but these two deal with how to play flash in VB.net

    http://www.vbforums.com/archive/index.php/t-261809.html

    http://experts.about.com/q/VB-NET-3306/Flash-vb-net.htm

     My tought would be that you'd then want to break down the task into a few steps.

    1. Create splash screen for you application.   You can use the default template for the splash screen.

    2. Do the work to play the flash on this splash form. (The above links provide some details on how to play a flash file inside a VB Application)

    3. Adjust the splash screen time delay to the roughly the length of you Flash file.  You can override this by setting the MinimumSplashScreenDisplayTime property in the My.Application namespace, which takes an integer to specify the number of milliseconds to display the splash screen. The code would look something like this:Me.MinimumSplashScreenDisplayTime = 5000

    4. Include the splash screen to you project by setting the splashscreen property in My Project.

     

    If you give that a try and let us know, what problems if any you run into.

     


  • Martin2006

    it is Ok with all forms but not splash

    I have added item as splash screen into my project and aslo other time s normal form, I add the flash in these forms and I have assigned it as splash screen from (my project --> application)

    in this case the error comes .

    but in normal form there is no error



  • JazzGuitar68

    Why Flash movie not owrk on splash screen in 2005



  • John Paterson

    You need to register the flash8.ocx control. Go to the Start menu, choose run, then enter the following...

    regsvr32 C:\Windows\system32\Macromed\Flash\flash8.ocx

    Then try again and all will be fine :)


  • fahlen

    will the flash play on a normal form and not on the splash or does it not play on any forms.

    let us know, show use your code...


  • CherylForrest

    I'm facing a problem

    I had opend the toolbox and then chose item, then form Com tab I have choose flash8.ocx, then when I have drag and drop to the form, error message shown up, it is

    "Faild to imprt ActiveX control, Please ensure it is properly registered",

    so, what is the problem please



  • Lady_A

    I have akready done, but still same

     

    I found the solution ...

    after I have applied your steps, I also made registration through the command prombet

    and then deleted the Shock wave icone from toolbar and import again

     

    it is ok now :)

     

    thanks



  • How Can I Use Flash file (swf) in my vb2005 project as a splash creen