VB.NET/Flash in vb.net

Advertisement


Question
how can i set the backGround of my form in vb.net with a ".swf"(shoackWave file depend to flash).
thanks a lot if you can send me the answer

Answer
Hi:

You have two options.

1. Add a reference to the COM Swf ActiveX control (SystemPath\Macromed\Flash\Flash.ocx)

Use the LoadMovie function to show your SWF
Sometimes you have to set the BaseURL property to the directory that contains the swf file. For help on the ActiveX control go to www.macromedia.com

2. Use the FlashMovie control from ComponentONE.

If you just want to show an animation the first option will be good enough, but remember to ship with your application the Flash Player redistributable

Hope this helps

Good Luck!
Carlos

VB.NET

All Answers


Answers by Expert:


Ask Experts

Volunteer


Carlos Esquivel Roisenvit

Expertise

I`m a young programmer from Perú. Working with VB since version 4, average all-around knowledge of the language, as well as related technologies like web, databases, and Windows API.

Experience

Working with VB since version 4. Knowledge of other languages like VC++, C#, Prolog, ASP/ASP.NET, etc.

Awards and Honors
Intel Excellence in Computer Science 99, 2000 and 2001

©2012 About.com, a part of The New York Times Company. All rights reserved.