Internet Connection with VB 6
-
Hi All, here just i want to know how to get the Internet connection Status in VB6 whether it is working/not working. if yes, let me also know how it is? Thanks in advance. Jay
-
Hi All, here just i want to know how to get the Internet connection Status in VB6 whether it is working/not working. if yes, let me also know how it is? Thanks in advance. Jay
jayachandra.c wrote:
here just i want to know how to get the Internet connection Status in VB6 whether it is working/not working.
The most used way would be using
InternetGetConnectedState
API. An example can be found here[^]. Alternatively, you could launch thePing
command and capture it's output. If you can Ping Google, you're online :)I are Troll :suss:
-
jayachandra.c wrote:
here just i want to know how to get the Internet connection Status in VB6 whether it is working/not working.
The most used way would be using
InternetGetConnectedState
API. An example can be found here[^]. Alternatively, you could launch thePing
command and capture it's output. If you can Ping Google, you're online :)I are Troll :suss: