How To Capture the EOF Character with the MSComm Control (253257)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q253257 SUMMARY
This article demonstrates how to capture the End of File (EOF) character with the MSComm control.
When the OnComm event of the MSComm control is used, it is sometimes necessary to trap the EOF character to detect when the end of a file is reached. The EOF character is defined as CTRL+Z, or ASCII 26.
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
194923 How To Trap Control Characters Using the MSComm Control
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbCommPort kbCtrl kbhowto KB253257 |
---|
|