|
-
Aug 13th, 2007, 10:02 AM
#1
Thread Starter
Lively Member
[RESOLVED] How to pass an IP to VNC Viewer
**Edit** I'm using VB6.
Hey, I'm looking for a way to pass an IP to VNC. I work at a HelpDesk and remote into users computers all day. Our company only uses VNC to do this.
What I have is a form with a textbox for the IP. The way I currently have it coded works the majority of the time.
Here is how I have it working so far.
1.)When I hit the command button, the program shells the .exe file for vnc.
2.)I have a timer that trys to AppActivate the title of the VNC Window.
3.)When it does find the window, I have it using SendKeys to send the IP from my textbox to the VNC window, and then have it press enter.
4.)Once the IP is entered, it then prompts me for a password. So I have another timer waiting for the password window. When it's found I have it SendKeys the password to it and hit Enter.
It works, but I since I'm using SendKeys, If I hit a key while it's doing it's thing it throws everything off.
All help is greatly appreciated!
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
|