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 19:51:40
 
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:
01263386
Views:
21
Thanks Sergey

I didn't know they had a log in page. Alway used the welcome page. It works now that I have the correct url.

Thanks again
Gaylen


>Try to go directly to the login page
>
>oIE.Navigate2("https://wwws.ameritrade.com/apps/LogIn")
>...
>
>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform