Microsoft KB Archive/163701

= ACC97: Cannot Create Custom Application with Microsoft Graph 5.0 After Microsoft Graph 8.0 Is Installed =

Article ID: 163701

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q163701



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 Microsoft Graph objects use Microsoft Graph version 8.0. 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 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.

Additional query words: can t open ole object 2 0 5 8 7

Keywords: kberrmsg kbprb kbsetup KB163701

-

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

© Microsoft Corporation. All rights reserved.