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



The information in this article applies to:

  • Microsoft Visual Basic Standard Edition for Windows 2.0
  • Microsoft Visual Basic Professional Edition for Windows 2.0
  • Microsoft Visual Basic Standard Edition for Windows 1.0

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.

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.

Modification Type:MajorLast Reviewed:11/18/2003
Keywords:kbbug kbfix KB95590