ACC97: Can't Create Custom App W/Graph5 after Graph8 Installed

Last reviewed: May 7, 1997
Article ID: Q163701
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

When you run the Setup program for Microsoft Access 97 on a computer that also has Microsoft Access 2.0 or 7.0 and Microsoft Graph 5.0 installed, and you include the Microsoft Graph 8.0 components in the Setup options, the following behavior occurs after Setup is finished:

  • Any newly created or existing Microsoft Graph 5.0 objects that you edit are upgraded to the newer version of the Microsoft Graph object.
  • If you run a custom application that contains an updated Graph file on a computer that does not have Graph version 8.0, you receive the following error message:

          Can't open OLE object
    

If you installed the stand-alone version of Microsoft Access 97 and if you create run-time applications using the Microsoft Access Developer's Toolkit versions 2.0 or 7.0, the following behavior occurs:

   The Setup wizard fails with the following error message:

      Setup Wizard error - cannot find Graph5

CAUSE

The shared Microsoft Graph 5.0 components have been overwritten with the Microsoft Graph 8.0 components during the Setup process.

NOTE: If you are using the stand-alone version of Microsoft Access 97, the graph files that are located in the ADT folder are also overwritten.

RESOLUTION

For newly created or existing Microsoft Graph objects in Microsoft Access 2.0 and 7.0, you will have the functionality of Microsoft Graph 8.0 on computers on which you install Microsoft Access 97.

For run-time applications that you create using the Setup Wizard for the Microsoft Access Developer's Toolkit 2.0 or 7.0, before you create disk images that include the Microsoft Graph 5.0 run-time components, you must rerun Setup for Microsoft Access 2.0 or 7.0 to reinstall the Microsoft Graph 5.0 components. Then you will be able to run the Setup Wizard and include the Microsoft Graph 5.0 run-time components in your custom applications.

STATUS

This behavior is by design.

MORE INFORMATION

You cannot have the functionality of both Microsoft Graph 5.0 and Microsoft Graph 8.0 on the same computer. Therefore, if you want to continue to create applications for Microsoft Access 2.0 or 7.0 that include graphs created using Microsoft Graph 5.0, you must create those applications on a computer that includes the Microsoft Graph 5.0 functionality. Any computer that has been upgraded to Microsoft Graph 8.0 will create Microsoft Graph 8.0 objects.

To include the Microsoft Graph 5.0 functionality in run-time applications created for Microsoft Access versions 2.0 and 7.0, you must run the Setup Wizard on a computer that has Microsoft Graph 5.0 installed. The Setup Wizard looks for the Microsoft Graph 5.0 components when it creates the disk images. If it does not find them, it will end in an error.

Steps to Reproduce Behavior

  1. Run the Microsoft Access 97 or Microsoft Office 97, Professional Edition Setup program to install Microsoft Access 97 and Microsoft Graph.

  2. Open a Microsoft Access version 2.0 or 7.0 application that includes a Microsoft Graph 5.0 object.

  3. Open the Microsoft Graph 5.0 object to edit it. Note that the Microsoft Graph 5.0 object has been upgraded to a Microsoft Graph 8.0 object.

  4. Create disk images for the application using the Microsoft Access Developer's Toolkit for version 2.0 or 7.0. Make sure you include the Microsoft Graph run-time component.

  5. Note that if you installed the stand-alone version of Microsoft Access 97, you will receive the Setup Wizard error "Setup Wizard error - cannot find Graph5" while the disk images are being created.

    If you installed Microsoft Access 97 from the Office 97 Professional Edition package, you will be able to create the disk images. However, you will receive the "Can't open OLE object" error when you try to open your custom application after installing it on a computer that does not have Microsoft Graph 8.0.


Keywords : IntpGrph kberrmsg kbsetup
Version : 97
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : Info_Provided


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: May 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.