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

Last reviewed: October 30, 1997
Article ID: Q95590
1.00 WINDOWS kbenv kbbuglist

The information in this article applies to:

- Standard and Professional Editions of Microsoft Visual Basic 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 reference words: buglist1.00 buglist2.00 fixlist3.00 1.00 2.00
3.00 GPF errmsg
KBCategory: kbenv kbbuglist
KBSubcategory: EnvtDes
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.