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

ID: Q95590


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for Windows, version 2.0
  • Microsoft Visual Basic programming system for Windows, version 1.0


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.


MORE INFORMATION

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 "Custom control 'Graph' not found." 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 :
Version :
Platform :
Issue type :


Last Reviewed: September 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.