Thanks to Vlad Zykov (Web site Vlad's
World).
The program opens the port for output using an Open statement. If the port is in use, it gets error 75 (path/file access).
The intent of this program is to see if you are logged on to the network. It doesn't do that if you do not log on via a COM port. For example, my computer has a DSL modem that is not a COM port so this method cannot tell
when I am logged on.
|