Article ID: 74517 - Last Review: November 18, 2003 - Revision: 2.0 FIX: Overflow Error If Print Long String to Form or PrinterThis article was previously published under Q74517 On This PageSYMPTOMS
An "Overflow" error message may occur when you print a long string in
Microsoft Visual Basic for Windows. When a character is printed using the Print method, the CurrentX and CurrentY coordinates are also updated for the object being printed to. If the string being printed is long enough to cause the value of the CurrentX property to exceed 32,767 twips, an "Overflow" error will occur. This behavior is by design. "Overflow" can be caused by printing a single long string or by repeatedly printing shorter strings that are appended onto the end of the last string -- using the Visual Basic semicolon (;) operator. STATUS
Microsoft has confirmed this to be a problem in Microsoft Visual Basic
versions 1.0 and 2.0 for Windows. This problem was corrected in Microsoft
Visual Basic version 3.0 for Windows.
MORE INFORMATIONSteps to Reproduce Problem
APPLIES TO
| Article Translations
|

Back to the top
