Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internet Automation
Message
De
03/02/2003 06:04:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Internet Automation
Divers
Thread ID:
00748315
Message ID:
00748315
Vues:
60
Hello All

I am trying to pass the User Name and PassWord to a certain side which the window "Enter Network Password" appears. Any ideas of how can identify which form to use ?

When the objects are on the html code the code is as follow :

loIE = CREATEOBJECT("InternetExplorer.Application")
loIE.Visible = .T.
llSuccess = loIE.Navigate("www.myside.htm")

loIE.Document.Forms("form1").LOGIN.Value = "myusername"
loIE.Document.Forms("form1").password.Value = "mypass"

loIE.Document.Forms(0).Submit()


Any ideas ?

Thanks in advance
Petros
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform