The information in this article applies to:
SYMPTOMSWhen you attempt to set the InBufferCount property of the MSCEComm control in Windows CE Toolkit for Visual Basic 5.0 (VBCE), the following error message appears:
CAUSEThe InBufferCount property is read-only in Windows CE Toolkit for Visual Basic 5.0. The standard Comm control that ships with Visual Basic allows the programmer to set the InBufferCount to zero to empty the input buffer. RESOLUTIONTo clear the input buffer, simply call the MSCEComm control's Input method, which will read and clear the input buffer as shown in the following code:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Windows CE Toolkit for Visual Basic 6.0. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCES
For additional information, please see the following
article in the Microsoft Knowledge Base: Q185204 HOWTO: Use the Control Manager in CE Toolkit for Visual Basic Additional query words: wce wince vbce vbce5 vbce6
Keywords : kbToolkit kbVBp500 kbVBp600fix kbWinCE100 kbGrpVB |
Last Reviewed: July 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |