Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed in vbscript that req'd login 1

Status
Not open for further replies.

dyan24

Technical User
Sep 7, 2004
56
CA
Hello,

I'm a newbie on VBSCRIPT. I need to go to a website in which we have an account. My problem is i can't get pass the login page using my script. I don't know how to pass the username and password thru my vbscript. Here is the website that i need to go to:
Please help!

Thanks!
 
I really prefer to be able to do an AppActivate but the security on this doesn't seem to allow that so here is what I have that will work.

Code:
set WshShell = CreateObject("WScript.Shell")
Set IE = CreateObject("InternetExplorer.Application")
IE.navigate2 "[URL unfurl="true"]http://www.tristategt.org/member/online/graph.cfm"[/URL]
wscript.sleep 100
IE.Visible=True
wscript.sleep 3000
WshShell.SendKeys "Username"
WshShell.SendKeys "{tab}"
WshShell.SendKeys "Password"
WshShell.SendKeys "{enter}"

I hope you find this post helpful.

Regards,

Mark
 
Thanks markdmac! That's very helpful!

You rock!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top