|
-
Oct 9th, 2008, 02:26 AM
#11
New Member
Re: Manipulate/Change/Form Fill data in webpages using the Webbrowser control
Thanks, Kleinma
I got it work using the following method:
Dim thisObj As Object
Dim butInput As mshtml.HTMLInputElement
thisObj = webBrowser.Document.getElementsByTagName("input")
For Each butInput In thisObj
If butInput.name = "submit.add-to-cart" Then
butInput.click()
End If
Next
Another question:
Can I hide the browser and still get everthing work? If I set visible to false, it can not get the same result as visible.
Thanks you give us very good example and help.
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
|