hi
can nyone tell how to attach flash movie in vb.net

Recommended Answers

All 4 Replies

u mean how to play flash movie in vb.net ?

add Shockwave Flash Object from COM Component ( by right click on tool box -->>Add/Remove Items -->> COM Component tab --->> Shockwave Flash Object) then drag the item that will appear in tool box to the form

on play button add the code that will play the movie and u may need other buttons too

Good Luck : )

i have followed this procedure and
added code
AxShockwaveFlash1.Stop()
AxShockwaveFlash1.Movie = Application.StartupPath & "\.fla"
AxShockwaveFlash1.Play()
its not working
is there ny error in my code

i have followed this procedure and
added code
AxShockwaveFlash1.Stop()
AxShockwaveFlash1.Movie = Application.StartupPath & "\.fla"
AxShockwaveFlash1.Play()
its not working
is there ny error in my code

if you have placed it in your bin then the coding is correct excep tht flash file's extension is missing on your code.

axshockwaceflash1.movie = Application.StatupPath & "\(name of the flash file).swf

.swf of the flash file is important.

Happy Coding :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.