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
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
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.