How to insert flash in vb.net

Save 15% On Pluralsight - Annual Subscription Only $299

Pluralsight courses
LinkedIn Premium uses PayScale to estimate job salaries

Save 15% On Pluralsight - Annual Subscription Only $299


Premium (Not Free) Video Tutorials

Free Video Tutorials & Free Tools

This article shows you how to embed/insert flash in your vb.net applications

How to link Micromedia Flash File in VB.Net
 

First of all create Flash MX file with extension .swf 

Now create a new project in vb.net Right click on the tool box. Select “Add/Remove Items". Select “COM Components” Select “Shockwave Flash Object”. Click OK. Then you can see the Shockwave Flash Object in the tool bar. Drag this tool on the form also drag a button on the form. Place the Flash MX file in bin folder of the project. Now double click on the form and write code on form load event

 

 

 

double click on the button and wrilte the following code on the Button1_Click event

 

AxShockwaveFlash1.Stop()

AxShockwaveFlash1.Movie = Application.StartupPath & "\segment1.swf"

AxShockwaveFlash1.Play()

Button1.Text = "Play"

 

Related posts:

  1. C# ASP.NET Sql Command Insert Statement Source Code Example C# ASP.NET Sql Command Insert Statement Source Code Example...
  2. VB.NET ASP.NET Sql Command Insert Statement Source Code Example VB.NET ASP.NET Sql Command Insert Statement Source Code Example...
  3. change windows wallpaper using vb.net Also see this video Want to change windows wallpaper using...
  4. ondblclick JavaScript (JS) Example: HTML DOM Objects – Event – ondblclick JavaScript (JS) Example ondblclick JavaScript (JS) Example: HTML DOM Objects - Event -...
  5. aero effects in .net applications With the launch of Windows Vista, Microsoft introduces brand new...

Related posts brought to you by Yet Another Related Posts Plugin.

Comments

2 Responses to “How to insert flash in vb.net”
  1. pietjawef says:

    Bad Bad Bad….
    I cannot even find a remove/add button if I click on right at the toolbox….

  2. Cyrphamax says:

    Wehhhw… nice. It works good. Thanks!

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

Powered by WP Hashcash

This blog uses the cross-linker plugin developed by Web-Developers.Net