Solved

Class Not Registered - TExcelApplication

Posted on 2004-08-06
3
803 Views
Last Modified: 2010-04-05
I am trying to connect to an Excel spreadsheet using a TExcelApplication.  This works fine on my development environment, but when I try to move the exe to another machine I get the error 'Class Not Registered.'  Can someone please tell me how to fix this?
0
Comment
Question by:jennifere
3 Comments
 
LVL 2

Accepted Solution

by:
wolsen earned 250 total points
ID: 11744884
Maybe the other computer does not have Excel installed?
0
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 11747929
the destination machine needs to have ms Excel installed, and most likely needs to be the same version as on your source machine.
0
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 11750957
TheRealLoki are wolsen are correct. (So don't award me the points THEY deserve!) TExcelApplication is a component wrapper around Excel. And it's a bit sensitive about the Excel version that it wants to use. It might work okay with similar Excel version but apparantly the Excel version on the other system is either the wrong version or just not installed.

If Excel is installed on the other system, it might also be that it's not installed correctly.

There is another option, of course. It could well be that Excel is NOT the problem but that you're also using something else that's not registerted on the destinaton PC. Are you sure it's related to TExcelApplication?
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now