Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Interface and Graphics > Flash in VB.Net


Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2004, 09:36 AM
Belthasar Belthasar is offline
Newcomer
 
Join Date: Mar 2004
Posts: 2
Question Flash in VB.Net


Is there a way to put a flash movie in Visual Basic. If not is there a way to put html in vb. thanks.
Reply With Quote
  #2  
Old 04-14-2004, 03:10 AM
Paszt Paszt is offline
Newcomer
 
Join Date: Feb 2004
Location: Raleigh, NC
Posts: 23
Default

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:
Code:
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
Reply With Quote
  #3  
Old 01-07-2008, 02:17 AM
Byapti Byapti is offline
Newcomer
 
Join Date: Jun 2007
Posts: 4
Default

Hi,

I think the Flash/VB article on 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
Reply With Quote
  #4  
Old 02-05-2008, 05:46 PM
kgalvarado kgalvarado is offline
Newcomer
 
Join Date: Jan 2008
Location: Philippines
Posts: 6
Default

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?
Reply With Quote
  #5  
Old 05-26-2009, 08:12 AM
kgalvarado kgalvarado is offline
Newcomer
 
Join Date: Jan 2008
Location: Philippines
Posts: 6
Default

ok. i found out how. but still, i prefer vb6 when dealing with flash
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing variables and controls using WinForms and VB.NET Bucky Tutors' Corner 0 02-24-2004 03:45 PM
Inserting Flash to vb.net enilama .NET Database and Reporting 0 02-08-2004 08:35 PM
VB.Net Office Integration FAQ Mike Rosenblum .NET Office Automation 2 12-19-2003 12:17 PM
flash in VB.NET Lydecker General 1 07-01-2003 11:38 AM
A VB6 to VB.NET conversion sample Helmar General 0 11-14-2001 05:27 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->