Belthasar
04-14-2004, 10:57 AM
I finally found out how to do this. I saw alot of questions about flash and vb.net over the internet so I thought I would put this up here. K, lets start.
First what I did was open the tool box and added the Microsoft Web Browser Control Com thingy. and I added one to the Form.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'This tells where the Movie is.
Dim Vid As String = "C:\Program Files\children of the night\movie_18.html"
'The web Browser
Me.AxWebBrowser1.Navigate(Vid)
End Sub
It just basically opens a web browser to the HTML file with the flash in it.
In the body of the page make sure you put topmargin="0" leftmargin="0"
And I think thats it. Cheers
First what I did was open the tool box and added the Microsoft Web Browser Control Com thingy. and I added one to the Form.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'This tells where the Movie is.
Dim Vid As String = "C:\Program Files\children of the night\movie_18.html"
'The web Browser
Me.AxWebBrowser1.Navigate(Vid)
End Sub
It just basically opens a web browser to the HTML file with the flash in it.
In the body of the page make sure you put topmargin="0" leftmargin="0"
And I think thats it. Cheers