BUG: Application Error Closing Form with Graphics in RichTextBox (264421)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows Millennium Edition
- Microsoft Visual Basic Professional Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows Millennium Edition
- Microsoft Visual Basic Enterprise Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows Millennium Edition
- Microsoft Visual Basic Enterprise Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows Millennium Edition
This article was previously published under Q264421 SYMPTOMS
An Application Error occurs when a Form is closed after multiple graphics have been added to the same line of a RichTextBox control.
This problem does not occur on Microsoft Windows 2000.
RESOLUTION
There are two ways to avoid this problem:
- Because the problem does not occur if the graphics display on different lines within the control, one solution is to keep each graphic on a separate line.
- If the graphics are cleared from the RichTextBox control prior to closing the Form, the problem does not occur. Call the Clear method of the RichTextBox just prior to unloading the form.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 9/27/2004 |
---|
Keywords: | kbBug kbCtrl kbpending KB264421 |
---|
|