Introduction - If you have any usage issues, please Google them yourself
Summary: VB source, network-related, the network connection to check the VB network connection check program source code, mainly using the Ping command to achieve the BAT file generated after running the official suggested that it can only run in a Windows98 system, but the test time, XP system under normal operation, and no abnormal test results. The basic principle is: the establishment of a Bat file Bat file settings: casual Ping on the Internet Server twice, and writes the results to a text file Test.txt in this queue, we have to Ping www.hinet.net Ping check is an example. Start checking connections, the implementation we have created the Bat file-> the Ping TestString = " command.com/c" & App.Path & " Test.bat" Shell (TestString) vbHide if Ping is successful, write a text file Test a. txt string length at least greater than 200 but due to the Ping action will be delayed a few seconds, so we let the program wait for 5 seconds.