ADT2: Calendar Control Font and Color Properties Unavailable

Last reviewed: May 14, 1997
Article ID: Q115125
The information in this article applies to:
  • Microsoft Access Developer's Toolkit version 2.0

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

The arrow to the right of the Calendar Control Properties box is unavailable (appears dimmed) and you cannot set the Font and Color properties for the Calendar Control.

CAUSE

The OC1016.DLL file was not registered properly in the REG.DAT file when you installed the Microsoft Access Developer's Toolkit.

RESOLUTION

To register the OC1016.DLL file, follow these steps.

NOTE: This resolution assumes that the Microsoft Access Developer's Toolkit is installed in the C:\ACCESS\ADT directory, and that Microsoft Windows is installed in the C:\WINDOWS directory. If you are using different directories, modify the line in step 2 appropriately.

  1. In Windows Program Manager, choose Run from the File menu.

  2. In the Command Line box, type the following line, and then choose OK:

          C:\ACCESS\ADT\MSAREG C:\WINDOWS\SYSTEM\OC1016.DLL
    

The registration process will take from 1 to 5 seconds to complete. You will not receive any notification that the process has been completed.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access version 2.0. This problem no longer occurs in Microsoft Access for Windows 95 version 7.0.

MORE INFORMATION

Steps to Reproduce Problem

  1. In any database, create a blank, new form.

  2. From the Edit menu, choose Insert Object.

  3. Select the Insert Control button.

  4. In the Control Type box, select Calendar Control, and then choose OK.

  5. From the Edit menu, choose Calendar Control Object, and then choose Properties. Note that the arrow to the right of the Calendar Control Properties box is dimmed.


Additional query words: gray grayed custom ocx
Keywords : GnlApp kbusage
Version : 2.0
Platform : WINDOWS
Hardware : X86
Issue type : kbbug
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 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.