Article ID: 235035
Article Last Modified on 5/13/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Learning Edition, when used with:
- Microsoft Windows 98 Standard Edition
- Microsoft Visual Basic 6.0 Learning Edition, when used with:
- Microsoft Windows 98 Standard Edition
- Microsoft Visual Basic 5.0 Professional Edition, when used with:
- Microsoft Windows 98 Standard Edition
- Microsoft Visual Basic 6.0 Professional Edition, when used with:
- Microsoft Windows 98 Standard Edition
- Microsoft Visual Basic 5.0 Enterprise Edition, when used with:
- Microsoft Windows 98 Standard Edition
- Microsoft Visual Basic 6.0 Enterprise Edition, when used with:
- Microsoft Windows 98 Standard Edition
This article was previously published under Q235035
SYMPTOMS
When you place a visual control (such as a PictureBox, Image, ListView, TreeView, RptText, RptLabel, and so forth) on a form when you are running Visual Basic 5.0 or 6.0 on Microsoft Windows 98-based system, Visual Basic crashes with the following error messages concerning the Graphics Device Interface (GDI) module:
If you click the Close button, the following error message is displayed:
If you click the Details button, the following error message is displayed:
-or-
The exact memory address may vary.
CAUSE
This behavior occurs because of a video driver that is not compatible with Visual Basic 5.0 or 6.0.
RESOLUTION
Restarting in Safe Mode (which uses the Windows standard VGA driver) eliminates the errors. Obtain and install a newer version of the video driver or try running the current video driver at a lower resolution or at a lower color depth.
REFERENCES
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
127139 Troubleshooting Video Problems in Windows
Additional query words: GDI
Keywords: kbprb KB235035