The information in this article applies to:
SYMPTOMSUsing the VAL function on a large hexadecimal number (greater than or equal to the hexadecimal value 80000000) embedded in a string can incorrectly cause a "Type mismatch" error. This occurs only when the hexadecimal number contains an ampersand (&) at the end of the string. WORKAROUNDTo reproduce the problem run the following code:
You get a "Type mismatch" error. To prevent the error, remove the last
ampersand (&) character.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem has been corrected in Visual Basic version 4.0. Additional query words: buglist2.00 buglist1.00 buglist4.50 buglist7.10 buglist3.00 2.00 3.00 4.50 7.10 fixlist4.00
Keywords : PrgOther |
Last Reviewed: September 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |