Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form filling and submitting IE
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Form filling and submitting IE
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00962163
Message ID:
00962163
Views:
39
Hi All,

I want to automatize via Internet Explorer a process of filling an internetform and after the form is filled I want to submit it. The filling works fine, but the submitting doesn't work. I get a (security) message from the site:

Security module isn't active more, check if your browser is java-enabled en and try again.


This message is site specific, if I try the next code for the universal thread website I don't have any problems. Do you know if submiting an internetform for high security website via foxpro/automatization isn't possible? Or is there an other solution.

Thank you.

LOCAL oIE
oIE = CREATEOBJECT("InternetExplorer.Application")
oIE.Navigate(cBank)

DO WHILE oIE.Busy()
DOEVENTS
ENDDO

oDoc = oIE.Document
oForm = oDoc.Forms(0)
oForm.item("Username").Value = cGebruikersnaam
oForm.item("Password").Value = cPassword

oIE.Visible = .T.
oForm.Submit()
Zakaria al Azhar
My blog on Actuaris.net
Next
Reply
Map
View

Click here to load this message in the networking platform