Microsoft KB Archive/162748

= ACC97: Class Property of 97 Calendar Control Is Mscal.Calendar.7 =

Article ID: 162748

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q162748



Novice: Requires knowledge of the user interface on single-user computers.



SYMPTOMS
Microsoft Access 97 includes the Microsoft Calendar Control. When you view the properties of a Calendar control that you added to a form, you see that the Class property of the control is Mscal.Calendar.7.



CAUSE
The Class property identifies the OLE Object type; this information comes from a Type Library. The Microsoft Calendar Control uses a version 7.0 Type Library; therefore, the Class property is set to Mscal.Calendar.7. This has no effect on the control's functionality in Microsoft Access 97.



Steps to Reproduce Behavior

 * 1) Start Microsoft Access and open the sample database Northwind.mdb.
 * 2) Create a new form not based on any table or query in Design view.
 * 3) On the Insert menu, click ActiveX Control.
 * 4) In the Insert ActiveX Control dialog box, select Calendar Control 8.0, and then click OK.
 * 5) With the control selected on your form, click Properties on the View menu to view its property sheet. Note that the Class property displays Mscal.Calendar.7.

