BUG: File Control's EOF Property Is Always Set to FalseLast reviewed: February 11, 1998Article ID: Q180887 |
The information in this article applies to:
SYMPTOMSWhen using the File Control and reading from a file using either the LineInputString or InputFields methods, the EOF property is always False, even when it has reached the end of the file. One of the following error messages will be generated:
An error was encountered while running this program. -or- -2147467259 CAUSEThe file EOF property is not set to True when the file pointer reaches the end of the file.
RESOLUTIONCheck for the error immediately following the LineInputString or InputFields method and handle it accordingly. See the MORE INFORMATION section below for details.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce BehaviorNOTE: This example uses the LineInputString method. The error also occurs using the InputFields method.
REFERENCESBooks Online for Microsoft Windows CE Toolkit for Visual Basic 5.0
|
Additional query words: wce
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |