Flash in VB.Net

Belthasar
04-12-2004, 09:36 AM
Is there a way to put a flash movie in Visual Basic. If not is there a way to put html in vb. thanks.

Paszt
04-14-2004, 03:10 AM
Right click on any component in the toolbox and select Customize Toolbox....
On the COM components tab in the listBox, look for and check Shockwave Flash Object.

Add a ShockwaveFlash component as you would any other component.
To set the source of the swf, modify the Movie property.

Also, as a side note, you can implement interaction between the flash movie and VB.Net by using the FSCommand:
Private Sub AxSWFlash1_FSCommand(ByVal sender As Object, _
ByVal e As AxShockwaveFlashObjects._IShockwaveFlashEvents_FSCommandEvent) _
Handles AxShockwaveFlash1.FSCommand
If e.command = "something" Then
Dim strArgs As String = e.args
End If
End Sub

-Stephen Paszt

Byapti
01-07-2008, 02:17 AM
Hi,

I think the Flash/VB article on http://www.adobe.com/devnet/flash/articles/flash_vb.pdf (http://www.adobe.com/devnet/flash/articles/flash_vb.pdf)may be helpful in this discussion.

This popular white paper is written by some engineering folks from our organization Mindfire Solutions (http://www.mindfiresolutions.com).

I hope you find it useful!

Cheers,
Byapti

kgalvarado
02-05-2008, 05:46 PM
Hey Paszt! I did what you said but can't move on cause I get this message when I drag the flash tool in my form, "Failed to import the Active X control. Pls. ensure that it is properly registered"...is it my Macromedia software that needs to be registered or something else?

kgalvarado
05-26-2009, 08:12 AM
:chuckle: ok. i found out how. but still, i prefer vb6 when dealing with flash

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum