Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form filling and submitting IE
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Form filling and submitting IE
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00962163
Message ID:
00962163
Vues:
40
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform