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 itClippy on Oct 2
Re: How to test com port is open in qb64Michael Calkins on Oct 3
 What does that tell you?Clippy on Oct 3
  Re: What does that tell you?Michael Calkins on Oct 3
   Well I got nothing in QB64 until I changed it to COM2Clippy on Oct 3
 Re: How to test com port is open in qb64Docfxit on Oct 4
  Try this:Clippy on Oct 4
   Thanks for the codeDocfxit on Oct 4
    Is the error coming up as 68 with QB64?Clippy 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