ID Number: Q76635
1.00
WINDOWS
Summary:
Assigning a large text string to a multiline text box will take a long
time to update (1 to 2 minutes), giving the impression that Visual
Basic is hung, when in fact it is not.
This information applies to Microsoft Visual Basic programming system
version 1.0 for Windows.
More Information:
Windows has a problem inserting line breaks in multiline text boxes.
The amount of time needed to complete the process grows exponentially
as the length of the string is increased.
Steps to Reproduce Problem
--------------------------
1. In Visual Basic, place a text box on a new form.
2. Place the following statement in the Form_Click event procedure:
text1.text=string$(32767,"X")
3. From the Run menu, choose Start.
4. Click on the form.
The application will now take up to 2 minutes to respond to any other
events because it is still executing the text1.text assignment.
Additional reference words: 1.00