Hi. How can my program tell if the computer is connected to the Internet? For example, the program sits in the background and if the user connects to the Net, it pops up a message asking if the user would like to see news or whatever.
Thanks,
BG jr.
Printable View
Hi. How can my program tell if the computer is connected to the Internet? For example, the program sits in the background and if the user connects to the Net, it pops up a message asking if the user would like to see news or whatever.
Thanks,
BG jr.
Look at InternetGetConnectedState(). This works for a dial up connection.