Hello,
Thanks for your post. As I understand, the problem you are facing is that
the references to the Calenar Control may be removed in your project.
Please correct me if there is any misunderstanding. I now share the
following information with you:
1. I created a new .NET WinForm application which uses Calendar Control 8.0
and it works properly on my side. After adding the Calendar Control to your
project, please make sure that the "Copy Local" properties of referenced
AxMSACAL and MSACAL are set to True.
2. >> I try to re-add the reference, but there is no entry for Microsoft
Calendar Control. I find no copy of MSACAL.ocx (or dll).
I suggest that you can perform the following steps to add Calendar Control
to your project:
a. Make sure you have MSCAL.OCX registered on your system, otherwise we are
not able to use it and may receive "Class not defined" error. You can
manually register it with the following console command:
regsvr32 MSCAL.OCX
b. Open your project in VS .NET 2003 IDE.
c. Select the menu "Tools" -> "Add/Remove Toolbox Items...".
d. Choose "COM Components" panel, and check "Calendar Control". If it does
not listed in COM Components, you can click "Browse" button and open the
MSCAL.OCX file in your <Windows Folder>\System32 folder.
e. Open a form, and drag-n-drop a Calendar Control in Toolbox to the form.
I look forward to your response.
Have a nice day!
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! --
www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights.