|
-
Dec 1st, 2005, 11:22 AM
#1
Thread Starter
Junior Member
DIFFICULT! Sending text to a textbox within a webpage
Is there a way of using API to send text to a textbox within a webpage??
For example if I want to log into eBay automatically. Would it be possible to find the hwnd of the username textbox and the password textbox then send the appropriate text to each, followed by clicking "sign in".
I have been stuck on this for ages, so please help me.
Thanks
-
Dec 1st, 2005, 12:05 PM
#2
Re: DIFFICULT! Sending text to a textbox within a webpage
The web componets doesn't expose their own hWnd, but you can use the HTML DOM to do this. There are many example on how to do this available on this site.
http://www.vbforums.com/showthread.php?t=373652
-
Dec 1st, 2005, 01:00 PM
#3
Thread Starter
Junior Member
Re: DIFFICULT! Sending text to a textbox within a webpage
Thanks for your quick reply. I have heard of the html dom before, but I have never really understood it properly.
Would you mind showing me a bit of code which would work for the example I gave originally (e.g. automatically logging onto eBay).
I would be so grateful if you or anyone else could show me how to do this.
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
|