rbend
asked on
How to use the Internet Explorer control to bring in a Web Page
I have put the Internet Explorer Control on my form.
What code on a command button will bring a URL into tht control?
I do not want it to launch IE just have the page appear on my form.
What code on a command button will bring a URL into tht control?
I do not want it to launch IE just have the page appear on my form.
ASKER
Sorry..doesn't work for me.
i have the IE Internet Control on my form.
I get the error: "object required" when I run your suggestion
i have the IE Internet Control on my form.
I get the error: "object required" when I run your suggestion
rbend - lol, make sure the "wb1" is changed to the name of Microsoft WebBrowser Control.
You cant just paste code in, and expect VB to automatically change all the object names. 'zhangjing' did tell u what it meant.
You cant just paste code in, and expect VB to automatically change all the object names. 'zhangjing' did tell u what it meant.
ASKER
I have figured it out in the meantime.
thanks anyway.
thanks anyway.
So please give me the score, I think it's fair. Thanks! Or you may divide it to two part, one to me, one to Lexien. :)
ASKER
re-answer the question. I will give you the score
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Private Sub Command1_Click()
wb1.Navigate "www.ibm.com"
End Sub
wb1 is a Microsoft WebBrowser Control.