Embed Flash (swf) to Visual Basic 2005

Hi, i saw in of the post thread regarding embed flash to VS 2005. It was suggested that use the webBroswer control...and to embed flash in html

I would like to know

1) how do i find WebBroswer control?
2) And the coding to embed flash to html is it :

<object width = "550" height = "400">
<param name = "movie" value = "filename.swf">
<embed src = "filename.swf width = "550" height = "400">
</embed>
</object>

3) when do i use the webbroswer.navigate("C:\file.html")

Thankz..

[642 byte] By [Quackger] at [2007-12-28]
# 1

the webbrowser control is in .NET 2.0 (VS 2005) - it is in your toolbox. In addition you could create one programmatically and add it to the controls collection....

Dim theBrowser as new WebBrowser()

Me.Controls.Add(theBrowser)

you can use the navigate command whenever you like, this command will navigate to the file specified - totally your call whenever you want to navigate, except within the document_Completed event, which will fire everytime the document has been loaded into the browser and placing the navigation code in there will pretty much make it into an endless loop of navigation!

ahmedilyas at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...