http://www.vb-helper.com/HowTo/testport.zip

	Purpose
See if a COM port is in use

	Method
Open the port for output using an Open statement. If the port is in use, you
will get 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.

Thanks to Vlad Zykov (comrade1001@hotmail.com). Visit his Web site Vlad's
World at:

    http://members.xoom.com/Vladworld/

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
