|
-
February 8th, 2000, 04:24 PM
#1
PROGRAM LOGIN
Hi, I wonder if anyone can help me, I have a program that I automatically load from my VB program. But when it starts it has a login box appear. I need to know is there anyway to enter my username and password from my VB when I load it??? then press enter and it automatically login.....
I don't know if there is a way of doing this, if there isn't please still let me know....
Thanks Martin
-
February 8th, 2000, 04:30 PM
#2
Re: PROGRAM LOGIN
If the Login Form has Focus, use the SendKeys Function in VB to Send the Keystrokes to the Active Screen, ie, something like:
Shell "Login.exe", vbNormalFocus
SendKeys "username{TAB}password{ENTER}", 1
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|