ACC: Installing Access 95 or 97 Breaks 2.0 Calendar Control (161865)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
- Microsoft Access Developer's Toolkit 2.0
This article was previously published under Q161865
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, you should first make a backup copy of the
registry files (System.dat and User.dat). Both are hidden files in the
Windows folder.
Advanced: Requires expert coding, interoperability, and multiuser skills.
SYMPTOMS
If you install Microsoft Access 7.0 or 97 on a computer that has
Microsoft Access 2.0 and Microsoft Access Developer's Toolkit version 2.0
installed, you may receive the following error message when you try to add
a Calendar Control object to a form or report:
There is a problem with the registration database.
CAUSE
When you install Microsoft Access 7.0 or 97, the Setup program creates the
following key under HKEY_CLASSES_ROOT in your Windows Registry:
CLSID\{399A11C0-CFAC-101A-B8A0-00608CB87234}\AutoConvertTo
The key contains the CLSID for the 32-bit Calendar control included with
Microsoft Access 7.0 and 97. It tells Microsoft Access to convert calls to
the 16-bit Calendar control automatically to the 32-bit Calendar control so
your Microsoft Access 2.0 database will convert to a newer version more
easily. However, when you try to insert the Calendar control in version
2.0, Microsoft Access tries instead to insert the 32-bit equivalent, which
is incompatible with 16-bit Microsoft Access 2.0.
RESOLUTION
If you want to continue to use the Calendar control in version 2.0, you can
edit the Windows Registry and rename the AutoConvertTo key. The following
steps show you how to do so.
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall Microsoft Windows 95 or Microsoft Windows NT.
Microsoft cannot guarantee that problems resulting from the incorrect use
of Registry Editor can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the Changing Keys And
Values online Help topic in Registry Editor (Regedit.exe). Note that you
should make a backup copy of the registry files (System.dat and User.dat)
before you edit the registry.
- Start the Registry Editor program, Regedit.exe.
- Locate the following key under HKEY_CLASSES_ROOT:
CLSID\{399A11C0-CFAC-101A-B8A0-00608CB87234}\AutoConvertTo
- Using the right mouse button, click the AutoConvertTo key, and then
click Rename on the shortcut menu.
- Rename the key to AutoConvertToX.
- Start Microsoft Access 2.0 and add the Calendar control to a form. Note
that the error no longer occurs.
REFERENCES
For more information about using the Calendar control in Microsoft Access
2.0, search the OLE Calendar Control Help file, Msacal20.hlp.
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kberrmsg kbinterop kbprb KB161865 |
---|
|