02-13-2011 06:51 AM
Hi,
I received a completed CVI project which contains a Microsoft Calendar Control 12.0.
On that control on the UIR it's written:
"Activex control not registered on this computer (0x80040154)."
I compile this project successfully, however when i run it i get a run-time error on this code line:
GetObjHandleFromActiveXCtrl (panelHandle, PANEL_CALENDAR,&calendarHandle);
The error messgae says:
Library function error (return value == -45(0xffffffd3)).
The control type passed was not a valid type.
What is wrong? what should I do?
Thanks a lot,
Ehud
02-14-2011 05:33 PM
Hi Ehud,
Sounds like your machine is just missing the ActiveX control.
Doing some searching I found a forum post on Microsoft's website related to this control.
Seems like it also have some information regarding how to install the ActiveX control as well.
Hope this helps!
Regards,
02-16-2011 06:51 AM
Hi Chris,
Thanks a lot for your assistance.
Umnfortunately it didn't solve the problem. I'm still looking for the solution...
Best regards,
Ehud
02-17-2011 05:50 PM
Hi Ehud,
If you try to put down an active x control on the UIR does the Calendar activeX control appear? Also can you detail how you installed the activex control?
Thanks!
02-22-2011 04:35 AM
Hi Chris,
I can put down an active x control on the UIR, but it's "Calendar Control 11.0", while the one in the software that I got is "Calendar Control 11.0".
I instaled the "Microsoft's ActiveX Office calendar control" in this link: http://www.gmayor.com/Zips/MSCAL.ZIP
After the instalation (and PC restart), when CVI project i didn't get a warning message as before, but I still get a run-time error.. 😞
Tanks a lot,
Ehud
Hi Ehud,
If you try to put down an active x control on the UIR does the Calendar activeX control appear? Also can you detail how you installed the activex control?
Thanks!
02-22-2011 10:32 AM
Hi Ehud,
I apologize since apparently the MSCAL on that site was 11.0 and not 12.0. Apparently doing some research, that activex control is installed with Microsoft Office 2007 Professional. If you have this and install it then the Calendar Control 12.0 should appear and your program should work.
Thank you!
Regards,
02-23-2011 06:49 AM
Hi Chris,
Mine is Office 2003. I tried to search a solution on the web and I installed somethings, but nothing helped.
Thank you anyway.
Ehud