![]() |
Excel 2002, VC++ problem, CreateDispatch not working
Hello,
I am running Excel 2002 (Excel.Application.10) on Win XP: with reference to creation of the Excel Application object, App.CreateDispatch("Excel.application") does not work from VC++ but CreateObject i.e. "Set xlApp = CreateObject("Excel.application")" from VB works. Note that I have created the VC project correctly and imported the Excel object into it correctly i.e. from Excel.exe/ClasssWizard etc. This VC code works fine for Excel.Application.9 i.e. Excel 2k. Any idea what maybe going wrong ? TIA, -Abhijit |
All times are GMT +1. The time now is 12:39 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com