My goal for the code I've written is to allow the user to enter a URL into a text box, which then downloads the video and plays it in a Shockwave Flash box.
This is the code for my Download button:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
If TextBox2.Text = ("http://www.youtube.com/watch?v=cgwxXKsZhAo") Then
Process.Start("http://www.youtube.com/watch?v=cgwxXKsZhAo")
AxShockwaveFlash1.Movie = TextBox2.Text
End If
End Sub
I've tried to do this with a picture box as well, but cannot get a video to display in a picture box either.
Any suggestions?
Thank you!

New Topic/Question
Reply



MultiQuote








|