problem with Excel automation

R

Rajesh

Hi ,
I have a strange problem while automating Excel XP with VC++
6.0.

The program has been working but few days ago ,

the program is not able to open excel in other systems which it used
to automate excel,its giving me a bug at this step itself

if(!app.CreateDispatch("Excel.Application"))
{
AfxMessageBox("Couldn't start Excel and get an application
0bject");
return;
}

so its obvious that its not able to created the Dispatch.

Its working on my computer when running in debug mode.But when I am
copying to other systems its not working.Earlier it used to work on
all of them.

Can some body pls help me with this.
Thanks in advance,
Rajesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top