Microsoft KB Archive/95590

= FIX: Loading Proj Gives Err: Custom control 'Graph' not found =

Article ID: 95590

Article Last Modified on 11/18/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Standard Edition
 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 1.0 Standard Edition

-



This article was previously published under Q95590



SYMPTOMS
When loading a project in Visual Basic for Windows, you see the following error message:

Custom control 'Graph' not found

Or an unrecoverable application error (UAE) in Windows version 3.0 or a general protection (GP) fault in VBRUN100.DLL at 0058:0485 in Windows version 3.1 may occur as a result of an executable (.EXE) file created in Visual Basic version 1.0.



CAUSE
If you have the Professional Toolkit for Visual Basic version 1.0 for Windows installed on your computer and you install the Professional Edition of Visual Basic version 2.0 for Windows on the same computer, the new installation may replace the version 1.0 GRAPH.VBX, GSWDLL.DLL, and GSW.EXE files with the Professional Edition of Visual Basic version 2.0 for Windows files.



WORKAROUND
To work around the problem, replace any version 1.0 Graph controls on your forms with the new version 2.0 Graph controls, or re-install the earlier versions of GRAPH.VBX, GSWDLL.DLL, and GSW.EXE. For the best results, you should upgrade the entire project to Visual Basic version 2.0, and then use the newer version 2.0 controls.



STATUS
Microsoft has confirmed this to be a bug in the products listed above. This problem was corrected in the Graph control provided with Microsoft Visual Basic version 3.0 for Windows.



Steps to Reproduce Problem

 * 1) Start Visual Basic version 1.0.
 * 2) From the File menu, choose Add File and add the version 1.0 graph control (GRAPH.VBX) to the project.
 * 3) Choose the Graph icon from the toolbox and draw a graph on the form.
 * 4) Save all changes and exit Visual Basic.
 * 5) Replace the files GRAPH.VBX, GSWDLL.DLL, and GSW.EXE with the new version 2.0 files.
 * 6) Start Visual Basic and load the project you created.

You will get the error &quot;Custom control 'Graph' not found.&quot; To work around this problem, replace any version 1.0 Graph controls on your forms with the new version 2.0 Graph controls or re-install the earlier versions of GRAPH.VBX, GSWDLL.DLL, and GSW.EXE.

Additional query words: buglist1.00 buglist2.00 fixlist3.00 2.00 3.00 GPF errmsg

Keywords: kbbug kbfix KB95590

-

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

© Microsoft Corporation. All rights reserved.