Re: Filling in web page through code...
- From: GhostInAK <ghostinak@xxxxxxxxx>
- Date: Wed, 20 Sep 2006 21:40:26 +0000 (UTC)
Hello Kevin,
Why don't you take a look at the webbrowser control's properties and then come back if you cant figure it out.
-Boo
I've got an app in VB6 that uses a webbrowser control to go to a web
site, enter text in a box, click the Submit button and fetch the
results.
Apparently the code won't translate to VB2005. The program stops on
this line:
WebBrowser1.Document.DomDocument.All("address1").Value = MyString
with the error "Object reference not set to an instance of an object"
and the Upgrade Warnings above the line of code show:
Couldn't resolve default property of object WebBrowser1.Document.All.
What is the correct syntax for this, or is there a better way of doing
this?
.
- Follow-Ups:
- Re: Filling in web page through code...
- From: Kevin
- Re: Filling in web page through code...
- References:
- Filling in web page through code...
- From: Kevin
- Filling in web page through code...
- Prev by Date: Re: Coversion problem
- Next by Date: Re: TcpListener with external/internet IP?
- Previous by thread: Filling in web page through code...
- Next by thread: Re: Filling in web page through code...
- Index(es):