Re: String Variable containing "R" has zero length??? mscomm1.input
From: Dick Grier (dick_grierNOSPAM_at_msn.com)
Date: 11/02/04
- Next message: Shaun Erikson: "trouble with PrintPreviewControl..."
- Previous message: Wart: "Re: Find out if a control has a property at run-time"
- In reply to: mike: "Re: String Variable containing "R" has zero length??? mscomm1.input"
- Next in thread: mike: "Re: String Variable containing "R" has zero length??? mscomm1.input"
- Reply: mike: "Re: String Variable containing "R" has zero length??? mscomm1.input"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Nov 2004 11:48:35 -0700
Try this,
Do
c = c & MSComm1.Input
If Instr(Ucase(c), "READY") Then
Exit Do
Else
DoEvents
End If
Loop
debug.print c
***
-- Richard Grier (Microsoft Visual Basic MVP) See www.hardandsoftware.net for contact information. Author of Visual Basic Programmer's Guide to Serial Communications, 4th Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See www.mabry.com/vbpgser4 to order.
- Next message: Shaun Erikson: "trouble with PrintPreviewControl..."
- Previous message: Wart: "Re: Find out if a control has a property at run-time"
- In reply to: mike: "Re: String Variable containing "R" has zero length??? mscomm1.input"
- Next in thread: mike: "Re: String Variable containing "R" has zero length??? mscomm1.input"
- Reply: mike: "Re: String Variable containing "R" has zero length??? mscomm1.input"
- Messages sorted by: [ date ] [ thread ]