01-16-2012 02:11 PM
I have a type library that shown ups when you right click a refnum, and choose Select AcitveX Class. So I browes to an item, and choose a Creatable Object Only, and drop it on the BD and add envoke/prop nodes. When I run the VI, I get a LV error = Error -2147221164 occurred at Class not registered.
How can I be sure my ActiveX componets are installed properly?
I've review as many of the forum posts as possible. I don't have the 64 bit issue, since systems is only 32. I'm not using MS Excel or Word. I have one class that gives me data from the top two levels of the hierarchy and seems to work, but everthing else gives me the "class not registered" error.
I have gone through the steps to register the .tlb file as described here:
http://digital.ni.com/public.nsf/allkb/4F811A9B23F1D46E862566F700615B7A
Additional things to note, there are no .ocx files provided, and there are multiple .tlb and .dll files. At this point I'm not sure which .tlb files are loaded and which ones are not.
01-17-2012 11:16 AM
Hi Clampy,
Have you registered your .dll files using the regsvr32 command? It will follow the same process as the .OCX files described in the link you provided (in the command prompt, type regsvr32 your_dll.dll to register the file).
Regards,
Courtney L.
Applications Engineer
National Instruments
01-20-2012 12:50 PM
Courtney,
Thanks for your reply. No I have not registered all my .dll files, for two reasons. First off, throughout my research both on NI and other sites, the reoccurring coment was "Are your components registered properly?". Then they usually said to uninstall and reinstall if not. Not knowing for sure lead me to pause, and post the question above.
Second, there are 865 .dll files in one folder, 24 in the next, followed by 29 .tlb files and 3 in the last. Now most of those, are for foreign languages I'll never use so we can reduce that by a third or quarter. Point being I would have just done that if it were 5 or 10 files to be uninstalled and re-registerd. But 200ish files makes me wonder if there is a better way. So... is there?
I have registered a couple of the .tlb files I thought I needed before digging deeper into this problem and finding out just how many files there were. I didn't get any indication whether they were accepted correctly or had errors. A batch file blinked so fast I couldn't see anything.
One more nugget I'm wondering, were these suposed to be registered with the installer of my other software? I asked the software manufacture, but have not gotten any info back.
So, can I check if they are registered? Correctly? Or do I need to get through the process manually for each file I think I may be using?
01-23-2012 03:55 PM
Hi Clampy,
Hmm. What exactly is it that you're trying to load? Is it something that I can download on the internet and test out?
Regards,