Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation
Message
De
09/08/2002 10:15:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Divers
Thread ID:
00687875
Message ID:
00687965
Vues:
27
Hi,

The code works and it inserts the user id and password into the web page but I can't get it to submit the page.

>>
Also why did changing the oIE.DOCUMENT.FORMS(0) to oIE.DOCUMENT.FORMS(1) make it work?
<<

The page you navigated has 2 forms:
Forms(0).Name = "formheader"
Forms(1).Name = "login"
so Forms(1) is the one you're after. Forms(1) OnSubmit function calls a javascript Validation() function - I didn't delve deeply into this but my guess is that the validation is failing for some reason thereby preventing the submit.

HTH,
Viv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform