|
Need to figure out the best way to confirm a VNC connection...
I (or rather, a friend of mine) have created a little program that, upon clicking a button, sends a command similar to this one:
winvnc -connect dyndns.domain.com:5500
The utility is intended to be used by clients of mine who need tech support and need a simple way to get me connected to their computer.
Right now, this command will run winvnc and send it's little icon to the task bar in the lower right corner by the clock, regardless of whether or not the connection was successful. In addition, I have a timer that appears on the screen with an End Session button below it for easy closure of the program and it's connection to me.
I need to figure out the best way to confirm that the attempted connection brought about by the above command is successful. Upon success, the timer appears. If it's not successful, I'll have a popup that will notify the user, allow them to click Retry, Custom (IP address, if my dyndns service goes down) and finally a cancel button.
How should this be done?
|