One of my internet connections is a kind of wireless dongle attached to a USB port. The connection manager software for this loads at startup but doesn’t connect automatically and there is no option to make it.
There are 2 controls on the sofware. A drop down list to select which service to use, Postpaid or Prepaid. I use Prepaid (option 2) and a button that is captioned ‘CONNECT’. This is set at the beginning and will not change.
Unfortunately this has the habit of dropping the connection and must then be manually reconnected by clicking on the CONNECT button. This is annoying to say the least, especially when I set a download going and go to bed only to find that it disconnected 5 minutes after I left.
What I want to do is to write a program that:
A. Monitors the internet connection. I can do this by pinging something like http://www.microsoft.com or http://www.google.com, sites I know that are probably going to be up and active.
B. If it finds that the connection is not active, sends a click to the CONNECT button on the connection manager screen, thus restablishing the connection.
A I can do.
B I have no clue.
Any and all help will be greatly appreciated.
Regards,
Kevin Bell