Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

How to Use Flash File in VB.Net

Author: DevASP
Download Source Code : 419_link_Flash_Object.zip

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

Button1.Text = "Play"

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()

Article Comments
how can i use flash buttons in place of the normal vb buttons.

Posted on 9/29/2006 1:48:48 AM by surjan

full procedure for using swf files on vb.net.....
how to get shockwave component.........is flash necessary to be installed on computer or we can simply download the scout library from internet...actually i have added this component in my web form but it is not being activated.....and not being right clicked...

Posted on 10/4/2006 7:13:48 AM by renu wasan

One moment guys... If you are trying to work with the adobe flash9 ax version, you will notice that ".play()", & some others are there to work with, but not ".movie", or ".loadmovie(), or even ".loop". So... If your control appears with the name "ShockwaveFlashObjectCtl1", or similar after you've added it rather than "Flash1", then its the messed up (Adobe) v9 control you've got in your project. Remove it, & register + add the original (Macromedia) version 7, or 8 to your project, then try again.

Posted on 12/18/2006 8:56:38 AM by D-Technic2000

One moment guys... If you are trying to work with the adobe flash9 ax version, you will notice that ".play()", & some others are there to work with, but not ".movie", or ".loadmovie(), or even ".loop". So... If your control appears with the name "ShockwaveFlashObjectCtl1", or similar after you've added it rather than "Flash1", then its the messed up (Adobe) v9 control you've got in your project. Remove it, & register + add the original (Macromedia) version 7, or 8 to your project, then try again.

Posted on 12/18/2006 9:00:55 AM by D-Technic2000

i am Msc final year student and i am doing the Filnal year project , i wana to add the flash file in my project s form, but i tested ur article but still i dont know how to create the Flash files....
thanks for U..

Posted on 1/25/2007 12:49:05 AM by zaheer

how to use a flash made movie in asp.net(vb.net) plz with steps example

Posted on 2/26/2007 1:18:02 PM by paruljain

how can i use flash buttons in place of the normal vb buttons

Posted on 3/28/2007 6:53:55 AM by chandresh

how to use a flash made movie in asp.net(vb.net) plz with steps example

Posted on 3/28/2007 6:54:58 AM by chandresh

This works also for .net WEB Applications or only for .net WINDOWS applications??? I am adding the component in a Web Apl. but it's no recognized

Posted on 3/30/2007 4:03:42 PM by Giova

This is really nice article, but U have not mentioned anything about OLE automation. Because without adding the reference of OLE automation it is not allowing to drop Shockwave Flash Object on Form.

Posted on 2/15/2008 12:36:12 AM by Vijay

very good explanation.....
thank you...

Posted on 3/31/2008 11:03:45 PM by zikrullah

how to use the flash button in vb.net application

Posted on 4/3/2008 5:01:03 AM by ankita

This Is very good Article........thankssss

Posted on 5/8/2008 5:48:52 AM by Abhijit Das

the sourcecode is excellent i have no words speachless

Posted on 5/10/2008 7:07:50 AM by Roshan

thank you for this

Posted on 9/17/2008 9:53:32 AM by hardik

while i drag the flash object i well see error messege.

Posted on 12/4/2008 5:58:16 AM by jon

how can i display 3d image in vb.net using flash?

Posted on 12/17/2009 10:16:03 PM by joy

how to use the flash button in vb.net application

Posted on 12/21/2009 4:54:14 AM by manish vaity

How to add Flash file in vb.net windows application in Visual Studio2005?

Posted on 2/23/2010 4:49:19 AM by Ganesh

how to play flash supported file in vb.net with source code

Posted on 2/23/2010 9:00:40 AM by siva shankar.m

Sir,
Thanks very good explained. Thanks Again.

Posted on 4/5/2010 1:33:40 PM by Ramanpreet Singh

how to call flash file in vb.net2005 ?

Posted on 4/17/2010 5:27:32 AM by gourav kumar

I see that I can use in a lot of modalities flash .. If you are a good teacher let me know, maybe we can collaborate.

Posted on 4/18/2010 4:40:18 AM by Julia Georgescu

it was a very useful article. but can i know how can i use this AxShockwaveFlash to save file into .swf extension?

Posted on 4/18/2010 10:35:39 PM by kok loong

1- how can i integrate flash .swf file in a .net window application.

2- how to create a playlist & add files to that playlist & then how to play that playlist using axWindowsMediaPlayer.

Posted on 5/12/2010 3:43:32 AM by vivek

thank you very much

Posted on 7/14/2010 12:37:45 PM by islam

Thanks for the FILE, Thank you very much !

Posted on 7/24/2010 2:03:03 AM by John

I'm building a website in ASP.Net/VB and I'd like to use a flash for my images. Which flash should I download? Or there are coding that I should use to do that. Please I need help.

Posted on 8/25/2010 2:01:11 PM by Junior

Nice Article, it works fine, but the file link you have provided does not working.
ThanX

Posted on 11/22/2010 10:15:17 AM by Dharmesh

It is good. I want to do it too. I want to be a programmer but now I am study IT at 2 year. I hope you help me. thanks...........

Posted on 12/1/2010 8:55:05 PM by sarak

   
Add Article Comment:
Name :
Email Address :
   
Comments :
 
   
<< How to create folder on your Destination Disk using Win32 API in VB.Net (Part 6)

Disclaimer - Privacy
© 2002-2017 DevASP.net