Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSCAL/OFFICE XP

Status
Not open for further replies.

prustie

Programmer
Aug 6, 2001
34
GB
I have developed a system which includes a calendar, using the _olecalendar from _datetime library.

The setup has been amended to include the MSCAL.OCX and has worked fine up to the point where it was loaded onto a machine running XP with Office XP loaded.

The system starts producing OLE errors as soon as it tries to Initialise the calendar.

I have tried manually registering the MSCAL.OCX in WINDOWS\SYSTEM32 but this makes no difference.

On my base machine I have MSCAL.OCX Version 8.0.0.5007 in WINDOWS\SYSTEM and Version 9.0.0.3620 in Program Files\Microsoft Office\Office.

On the machine causing the problem I have MSCAL.OCX Version 9.0.0.3620 in WINDOWS\SYSTEM32 and Version 10.0.0.2601 in Program Files\Microsoft Office\Office10.

Can anyone give me any help in finding out why I am getting errors?

Do I need to load a more up to date version onto my base machine and recompile the system?

Malcolm.
 
prustie

You don't specify which version of VFP you are using. But if I create a form and put a calendar on it and look at the properties, I notice that the OLEClass for the calendar is "MSACAL", not MSCAL.ocx. Try using the MSACAL.ocx instead. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
Mike

I am using VFP 6 and the OLECLASS is MSCAL.Calendar.7

Malcolm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top