my friends,
I want to open a youtube page in my vbnet application (using webbrowser control) and wait until streaming video finishes playing.
any ideas howto do it ?
Printable View
my friends,
I want to open a youtube page in my vbnet application (using webbrowser control) and wait until streaming video finishes playing.
any ideas howto do it ?
I have previously used this event for web page. Currently I cannot test this as I cannot acccess youtube. but I will suggest to give a try and also look at the WebBrowser:FileDownload Event
nope, WebBrowser:FileDownload event only fires when download starts. good approach but unfortunately there'sno "download completed" indicator, thats is that needid if I use WebBrowser:FileDownload event.
insteresting but google didnt show up any solutions.
May be you have to handle the WebBrowser1_ProgressChanged event with
'e.MaximumProgress
'e.CurrentProgress
Code:Private Sub WebBrowser1_ProgressChanged(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles WebBrowser1.ProgressChanged
'e.MaximumProgress
'e.CurrentProgress
End Sub
Does the WebBrowser:FileDownload fires every time , did you check the WebBrowser.isBusy Property while downloading the file ?
yes my friend, I checked. flash video looks like "another person doing something" on the page. looks like page does not check what it does. while downloading the video AND playing it, browser is not Busy.
I ran out of ideas. Hope some one help
thank you my friend.