BUG: VBCE: Type Mismatch Error Message When Using InputFields Method (209068)
The information in this article applies to:
- Microsoft Windows CE Toolkit for Visual Basic 6.0
This article was previously published under Q209068 SYMPTOMS
If you attempt to read in the data of a file with the InputFields method of the File Control and assign it to an array, you receive the following application error message:
An error was encountered while running this program: Type mismatch.
RESOLUTION
The solution is to use a Variant instead of an array when using the InputFields method.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 8/19/2005 |
---|
Keywords: | kbBug kbpending kbToolkit KB209068 |
---|
|