LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

using .OCX file

Hello,

I use with LabWindows/CVI v7.1 and try to using with logitec .OCX file .

Wen I run the "Creat activX controller..." I don't see the .OCX file after i serch them with Browse button.
The .OCX file type isn't show in "files of type" window.

pleas leat my know how I can fined and use with .OCX file

thanks in advance

Yaki Fleishman
0 Kudos
Message 1 of 3
(3,455 Views)
To confirm wether you have regsitered the activex control or not. I think that would be the reason why it have not display in the list, but I am not sure.
0 Kudos
Message 2 of 3
(3,447 Views)
Hello

Make sure your OCX is registered on the system. You can do that by using opening up the command prompt window, and typing in regsvr32 and the full path to the ocx.
So it would look like this, if the ocx is under the windows system32 folder and was called test.ocx

regsvr32 c:\windows\system32\test.ocx

You can browse for the ocx by yourself, choosing to view all files. Once you select the OCX in the file dialog, CVI will automatically register it for you if it was not registered in the first place.

Hope this helps
Bilal Durrani
NI
0 Kudos
Message 3 of 3
(3,434 Views)