Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Web Page and entering Userid and PW
Message
From
24/10/2007 08:29:47
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01262716
Message ID:
01263013
Views:
22
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform