Help! Internet connection check

new2006's Avatar, Join Date: Apr 2011
Newbie Member
Hello VB experts. I am new to VB programing and also new to this board. I want to make a program in VB to show some pages by using browser iframe.

Here is what I want:
1. Automatically check for Internet connection when the program is launch.
2. If there is a connection, then brower iframe show "page1.html or web url".
3. Else if there is NO connection, then show error message "You do not have connection to the web". Press OK to close the program.

Thanks for your help for such a noobie like me. If you can do a video tutorial, that will be super nice. Thanks!