Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internet Automation
Message
 
À
03/02/2003 06:04:27
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00748315
Message ID:
00749321
Vues:
25
>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 ?

I think you need to place last three lines of code into DownloadComplete or NavigateComplete2 event.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform