Thread View: bit.listserv.envbeh-l
1 messages
1 total messages
Started by ts1
Fri, 07 Sep 2001 23:41
vb webbrowser control,how to know it is complete loading
Author: ts1
Date: Fri, 07 Sep 2001 23:41
Date: Fri, 07 Sep 2001 23:41
21 lines
1365 bytes
1365 bytes
I am thinking to use webbrowser control to get the web info, I don't want to use inet control. but it seems when I click run, error "run-time error'91'" appear. I click debug and retry , it's ok, seems like webbrowser collecting source from www.msn.com, if not complete, it got error to execute webbrowser1.document.body.innerhtml. is there any way to know webbrowser complete browsing and execute next command. thanks please email to ts1@zaobao.com Option Explicit Dim strhtml As String Private Sub Form_Load() WebBrowser1.Navigate2 "http://www.msn.com" strhtml = WebBrowser1.Document.body.innerhtml Text1.Text = strhtml End Sub
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads