|
-
Feb 9th, 2010, 11:24 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Serial port exists?
I'd like to check to see if a serial port even exists. I know that if it doesn't, there is an error thrown when you do a port.open
So, I would imagine that doing a simple IF port.isopen won't work?
I looked at all the methods on the class and don't see anything obvious on how to do it.
I just want to see if the hardware exists on the PC and set a boolean variable if it does when the form loads.
Thanks for the help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|