06-28-2006 01:53 PM
06-29-2006 12:18 PM
06-29-2006 04:34 PM
Nickeli,
When using an activeX control you need to have an active server for the COM interface that CVI autogenerates. This typically winds up being a VB DLL that is 'registered' on your machine automatically by the ActiveX server you wish to communicate with. In your case it seems that the DLL providing COM interface to the Excel server has become unregisterd. To fix this you can use the regsvr32 command with the name of the DLL you wish to register added to it. For instance, if you wish to register foo.dll you can type regsvr32 foo.dll in your command prompt window.
A good way to check if your target DLL is registered would be to go to your tools->Create ActiveX Controller (on cvi 7.0 or it's equivalent in cvi 8.01) and see if you can find the Microsoft Excel 9.0 object library entry. If it isn't there, your Excel DLL has become unregistered.
Unfortunately I can't remember the name of the actual DLL that you will need to use with regsvr32, but a search on msdn will probably turn it up.
Good luck!
06-30-2006 07:10 AM
06-30-2006 11:12 AM
Hmm... sounds like something might have been clobbered in your registry. Have you tried repairing the installation of Excel using the original install disk?
If it is really messed up, you may need to re-install it completely.
06-30-2006 11:23 AM
06-30-2006 11:30 AM
06-30-2006 02:27 PM
06-30-2006 02:39 PM - edited 06-30-2006 02:39 PM
Message Edited by MJF on 06-30-2006 12:40 PM
06-30-2006 02:47 PM