|
-
March 15th, 2001, 03:35 AM
#1
Forms Collection Web Browser Control
Hi,
I am using the web browser control.
I want to get the collection of forms in the currently loaded HTML document , and then I want to iterate throught the collection of forms
and submit each form through my program.
Could anybody please guide me how I might be able to do this? Any code will be welcome
Thanks in advance and Regards
Taha
-
May 9th, 2001, 11:25 AM
#2
Re: Forms Collection Web Browser Control
try this or something similar:
set a project ref to Microsoft HTML object library
set the document in the web browser to a MSHTML.IHTMLDocument2 object
Then it's
for i = 0 To IHTMLDocument2.forms.length
then use
IHTMLDocument2.forms(i). various properties/methods
then to submit it :
HTMLDocument2.forms(i).submit
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
|