Solved

Class Not Registered - TExcelApplication

Posted on 2004-08-06
3
807 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

912 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

15 Experts available now in Live!

Get 1:1 Help Now