LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Activex control not registered on this computer (0x80040154)

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

0 Kudos
Message 1 of 7
(11,214 Views)

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.

 

http://social.answers.microsoft.com/Forums/en-US/officeprog/thread/a3d0429e-931d-495c-ba95-1a2606f43...

 

Seems like it also have some information regarding how to install the ActiveX control as well.

 

Hope this helps!

 

Regards,

Chris T.
0 Kudos
Message 2 of 7
(11,180 Views)

 

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

0 Kudos
Message 3 of 7
(11,148 Views)

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!

Chris T.
0 Kudos
Message 4 of 7
(11,119 Views)

 

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!

Chris T.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 7
(11,079 Views)

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,

Chris T.
0 Kudos
Message 6 of 7
(11,066 Views)

 

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

0 Kudos
Message 7 of 7
(11,050 Views)