FIX: Edit Replace All Has Different Limit Than SpecifiedLast reviewed: October 30, 1997Article ID: Q113330 |
3.00
WINDOWS
kbenv kbbuglist
The information in this article applies to: - Microsoft Visual Basic programming system for Windows, version 3.0
SYMPTOMSPerforming an Edit Replace All on a long line of code in the Visual Basic Environment may generate this error message:
One or more replacements too long and not made. CAUSEThe Visual Basic for Windows environment limits the length of individual lines of code to 1023 characters. No line longer than this may be input. However, if you choose Edit Replace from the Visual Basic menu with the Replace All button selected, the environment erroneously limits the total line length to 254 characters.
WORKAROUNDTo create a line longer than 254 characters, do it in separate lines and then concatenate the lines together by deleting the carriage return between the lines. A better solution would be to break up the single long line into multiple shorter lines. For additional information, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q94696 TITLE : How to Break Long Statements into Multiple Lines STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. This problem has been corrected in Visual Basic version 4.0.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional reference words: buglist3.00 3.00 fixlist4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |