Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOM - Internet Explorer automation and submit buttons
Message
From
08/09/2000 16:39:51
 
 
To
08/09/2000 16:20:25
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00414398
Message ID:
00414407
Views:
28
>I am having a problem using DOM to automate the submition of forms through IE5. I am following the article in June in Foxpro Advisor. However, it seems that when I submit to the site I am working with, it doesn't do the same thing as when I actually click on the submit button manually, and the reason I suspect is because in the HTML form it seems that the submit assigns a value to a variable (in this case a variable .finished). I don't know how to replicate this through the submit method since it doesn't seem that the submit method accepts parameters. I am trying oIE.Document.Forms(0).submit. I also thought that perhaps assigning the form variable manually before submiting the form would do the job, but this variable actually has a dot in front of the name, so I don't know how to do that either.
>


Call the button's Click method instead of submitting the form.

oIE.Document.Body.Form1.MySubmitButton.Click()

>On a related issue, my ieref.chm help file is on my hard drive but I cannot open it, it says cannot open the file @MSIT Store:V:\.... So I cannot even access help for IE automation...

Can you read any chm files?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform