ACC97: "Can't find the dynamic-link library (DLL) Mso97rt" ErrLast reviewed: June 2, 1997Article ID: Q167058 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills. When you use the /runtime switch to start Microsoft Access 97 on a computer that does not have the Microsoft Office 97 Developer Edition Tools (ODE) or a custom application created by using the ODE installed, you may receive the following error message:
Can't find the dynamic-link library (DLL) Mso97rt. You can't use the /runtime command-line switch unless you have installed Microsoft Office 97 Developer Edition Tools. CAUSEThe file, MSO97rt.dll, needed to simulate the Microsoft Access run-time environment, is only installed on your computer when you run Setup of the ODE or a custom application that was created with the ODE.
RESOLUTIONTo use the /runtime switch with the retail version of Microsoft Access 97, you must install the ODE or a custom application created with the ODE on your computer.
STATUSThis behavior is by design.
MORE INFORMATIONIn versions of Microsoft Access earlier than Microsoft Access 97, it was possible to use the /runtime switch with the retail version. However, to simulate the Microsoft Access run-time environment in Microsoft Access 97, you must have an application that contains the MSo97rt.dll file installed on your computer. The following information is contained in the Microsoft Access 97 Help topic, "Simulating the Microsoft Access Run-Time Environment":
If you have the Microsoft Office 97, Developer Edition Tools installed, you can test and debug your application in Microsoft Access by using the Microsoft Access /runtime startup command-line option to turn off full Microsoft Access features and simulate the environment in which users will run your application.It also includes the following tip:
Tip If Microsoft Access is installed on a user's machine, you can test your run-time application by copying the file Mso97rt.dll to the user's c:\Program Files\Common Files\Microsoft Shared\VBA folder. Also, for this method to work, your application must have a startup form that provides access to all the objects you want available (a main switchboard form), because you can't display the Database window in run-time mode. Steps to Reproduce BehaviorThe following steps assume that the Mso97rt.dll file has not been installed on your computer by a custom application or the ODE.
REFERENCESFor more information about using the /runtime switch, search the Help Index for "run-time environment, simulating," or ask the Microsoft Access 97 Office Assistant. |
Keywords : kbenv kberrmsg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |