Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Word and Excel Classes in Registry

17 Nov 2015   #1

Windows 7 Professional
Word and Excel Classes in Registry

Hi Folks,

I have an application (LabVIEW) which uses MS Office (specifically) to write data to reports. Our company migrated from Office to Kingsoft. The report generator does not work.

However, I have Office on my laptop and recently installed Kingsoft. LabVIEW opens Kingsoft with no problem. A peek at the code inside LabVIEW revealed it is calling the OLE class Excel.Application or Word.Application. Since Office was removed, so were the registry entries.

Does anyone know which registry values can be added with the class of Excel and Word, but point to Kingsoft? I do not believe this would be illegal in any sense...


My System SpecsSystem Spec
19 Nov 2015   #2

Windows 7 Ultimate x64

No idea if it's illegal or not (to me it seems as there isn't legal trouble), but over all what you want don't make sense technically speaking, that's not how ActiveX works.

The registry entries you're referring to are just the tip of the iceberg on the Office automation API. Main problem is that the implementing binaries (ie, the Office .exe's and .dll's) are now missing after uninstall, so which component would you register? There is no file to point to.
You mention pointing to Kingsoft instead. That's guaranteed NOT to work. For one, the Kingsoft binaries have nothing to do with those from Office, they're completely different and work in different manners, and for sure don't implement the same ActiveX classes that Office do. Changing the registry to those files would only crash any application trying to use them, in the best of cases.
In addition, while you also mention "Excel.Application", that's again only the first one the program uses. Office uses ActiveX a LOT. Other classes include "Workbook", "Worksheet", "Cell", "Range" just to mention the most common ones. Re-registering the whole hundreds of classes (if not thousands) is impractical too.

Since this program uses explicitly the Office automation, it follows that for it to work Office MUST be installed on the same computer. By uninstalling it an immediate consequence is that it breaks it, as you figured out. There is no other way around other than reinstall Office to restore the working program. Or to get another version that doesn't uses Office in this way.
My System SpecsSystem Spec
19 Nov 2015   #3

Windows 7 Professional

Thanks for the clarification.

I didn't think of all the DLLs which would need to be registered. That makes the idea moot.

Thanks, again.

My System SpecsSystem Spec


 Word and Excel Classes in Registry

Thread Tools

Similar help and support threads
Thread Forum
Cannot open MS Word or Excel
Tried application manager which states MS Office programs & updates are downloading in the background - also says "done:". Nothing is done because it is not working. I did a restore because I downloaded some updates yesterday (these were KB... updates) and still not working. I have Office 2010. ...
Microsoft Office
Excel and Word
Everytime I open Word or Excel, I have to sign in and accept terms. Does anyone know why?
Microsoft Office
Windows can not load classes registry file
Source User Profile Service; Event ID: 1542, the system can not find the file specified :shock: What should I do?
Installation & Setup
IE9 and 2007 word and Excel
Good Morning Windows 7 Forum, (ignor miss spelling, went to sleep in spelling class) A strange thing has begin to repeat which is this: I click the IE9 LOGO look around the web everything is great. I click the X in the upper right of the window to shut it down, shortly after that a warning...
General Discussion
Missing Word + Excel
I just upgraded Vista-->W7. Prior to doing so, my Vista install had a Word and Excel icon in the Taskbar + both applications appeared under Start, Programs, Microsoft Office. However, I cannot find either Word or Excel under Start Programs either under MSO or independently. The applications are...
Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:10.
Twitter Facebook Google+