Excel Interop error - Application is busy

V

VJJ

In my C# console program, I use Office Interop to open an excel application,
and then save output in an excel file. However, because the interaction with
excel takes a few minutes, and eventhough i used sleep times to wait for the
excel to complete the operation, but the program crashes the first time it is
launched by throwing "Application is busy" error , but subsequent times it
runs successfully.

Appreciate if anyone has a work aound with this..
Thank you!

VJJ
 

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