Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Web Page and entering Userid and PW
Message
De
24/10/2007 08:29:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01262716
Message ID:
01263013
Vues:
23
One question - I got it to work for a number of web sites I access with the exception of one. The web site is as follows:
oIE.Navigate2("http://www.tdameritrade.com/welcome1.html")
I use the following code to enter the values.
	WITH oIE.document.forms("li")
		.userid.value = lcUsername
		.Password.Value = lcPassword
		.Submit()
	ENDWITH
Using view source I thought the name of the login form was "li", however
it errors out on the first line with a data type mismatch error. So evidently the form was not named 'li'.

Any ideas Sergey or anyone else who has tried to autofill from VFP.

Thanks in Advance
Gaylen




>You're welcome.
>
>>Sergey - Once I found the form name and the userid name of the site I was going to, it worked great.
>>
>>Thanks so much
>>Gaylen
>
>>>Check Re: Automate login procedure in a web page Message #806332 for sample code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform