Solved

Class Not Registered - TExcelApplication

Posted on 2004-08-06
3
816 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

809 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