Solved

Class Not Registered - TExcelApplication

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi application Soap connection 5 132
Twebbrowser in Fire monkey android scrolling to bottom 1 67
enhance the following code 3 42
Delphi: sending SMS on android platform 1 65
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…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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