FIX: GPF When Using 8514 Driver with Long String in Text Box
ID: Q94774
|
The information in this article applies to:
-
Microsoft Visual Basic programming system for Windows, version 2.0
SYMPTOMS
A general protection (GP) fault may occur when you attempt to assign a
string longer than 256 characters to a text box. This problem is known to
occur when using an ATI Ultra video system with the 8514 Windows video
driver.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Visual Basic
version 2.0 for Windows when using Windows version 3.1 and the 8514 Windows
video driver. This problem was corrected in Microsoft Visual Basic version
3.0 for Windows.
MORE INFORMATION
Steps to Reproduce Problem
- Load the Windows 8514 driver (8514.DRV) by using the Windows Setup
program.
- Start Visual Basic, or from the File menu, choose New Project if Visual
Basic is already running. Form1 is created by default.
- Add a text box (Text1) to Form1.
- Press the F4 key to select the Properties Window. Set the Multiline
property to True and the ScrollBars property to 3 - Both.
- Add the following code to the Form_Click event procedure of Form1:
For i% = 1 To 100
text1.SelStart = Len(text1.Text)
text1.SelText = "This is a test"
Next i%
- Press the F5 key to run the code.
At this point, you may encounter a GP fault when the length of the string
being built in the text box is longer than 256 characters. Note that on
some computers, the GP Fault may occur earlier when the total length of
the text reaches about 150 characters.
Additional query words:
buglist2.00 fixlist3.00 2.00 3.00
Keywords :
Version : WINDOWS:2.0
Platform : WINDOWS
Issue type :