Microsoft KB Archive/80780

= BUG: No Resources Causes Failed to Open Graphics Server Error =

Article ID: 80780

Article Last Modified on 11/18/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows

-



This article was previously published under Q80780



SYMPTOMS
With the Visual Basic programming environment (VB.EXE) running and with very low available Windows resources (0 to 1 percent), attempting to load the GRAPH.VBX Visual Basic custom control generates these misleading messages:

Failed to open Graphics Server.

GSW.EXE must be available via the DOS path.

followed by another error message:

Can't load the custom control DLL: &quot;C:\VB\GRAPH.VBX&quot;



RESOLUTION
These messages incorrectly imply that the problem is that GSW.EXE is not in the MS-DOS path, when in fact the custom control could not load because of a lack of Windows resources (memory).



STATUS
Microsoft has confirmed this to be a bug in the GRAPH.VBX custom control provided with the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



MORE INFORMATION
A prerequisite to re-create this problem is to deplete Windows system resources until the Program Manager Help About dialog box reports 1 percent or less resources available. To verify the level of resources available, from the Program Manager Help menu, choose About.

One way to deplete Windows resources is to launch as many sessions of NOTEPAD.EXE as possible before getting an error message (start Visual Basic before all of the Notepad sessions).

Steps to Reproduce Problem
With 1 percent or less resources available, the following procedure will generate the above error messages:


 * 1) From the File menu, choose New Project. Form1 is created by default.
 * 2) From the File menu, choose Add File, and select the GRAPH.VBX custom control.

Additional query words: buglist1.00 buglist2.00 buglist3.00 1.00 2.00 3.00

Keywords: kbbug KB80780

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.