How to test com port is open in qb64

by Docfxit (no login)

 

Thanks for the information.

Sorry I wasn't clear enough.

When the code gets to the Open Com1: statement and fails, the On Error statement doesn't get triggered in qb64. So what I am looking for is a programmatic way to see if the the Open Com1: was successful or failed.

Thanks,

Docfxit

Posted on Oct 2, 2011, 10:31 PM

Respond to this message   

Return to Index

Response TitleAuthor and Date
You can't test it with nothing on it on Oct 2
Re: How to test com port is open in qb64 on Oct 3
 What does that tell you? on Oct 3
  Re: What does that tell you? on Oct 3
   Well I got nothing in QB64 until I changed it to COM2 on Oct 3
 Re: How to test com port is open in qb64Docfxit on Oct 4
  Try this: on Oct 4
   Thanks for the codeDocfxit on Oct 4
    Is the error coming up as 68 with QB64? on Oct 4
     Re: Is the error coming up as 68 with QB64?Docfxit on Oct 4

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement