[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 898
  • Last Modified:

Class Not Registered - TExcelApplication

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
jennifere
Asked:
jennifere
1 Solution
 
wolsenCommented:
Maybe the other computer does not have Excel installed?
0
 
TheRealLokiSenior DeveloperCommented:
the destination machine needs to have ms Excel installed, and most likely needs to be the same version as on your source machine.
0
 
Wim ten BrinkSelf-employed developerCommented:
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

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now