ACC97: "Can't find the dynamic-link library (DLL) Mso97rt" ErrID: Q167058
|
Advanced: 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.
The 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.
To 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.
This behavior is by design.
In 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.
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.
"C:\Program Files\Microsoft Office\Office\MSAccess.exe" "C:\Program
Files\Microsoft Office\Office\Samples\Northwind.mdb" /runtime
For 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
Version : 97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 16, 1999