|
-
March 2nd, 2000, 06:13 PM
#1
help for webbrowser control
i cant seem to use the webbrowser's navigate property. isnt it this control that i should use in order to navigate to a particular website??
-
March 2nd, 2000, 06:48 PM
#2
Re: help for webbrowser control
I'm not sure what kind of errors you are getting, but this code works fine for me:
private Sub Form_Load()
WebBrowser1.Navigate "http://www.stlvbug.org"
End Sub
private Sub WebBrowser1_DocumentComplete(byval pDisp as Object, URL as Variant)
MsgBox "Done"
End Sub
Place a WebBrowser control on the form (dont rename it for this code) and hit F5.
You should see the page comming down and then when it's finished, a message box should pop up indicating it's finished.
Hope this helps,
John
John Pirkey
MCSD
www.ShallowWaterSystems.com
John Pirkey
MCSD (VB6)
http://www.stlvbug.org
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|