Monday, March 12, 2012

Want to check any instance of Excel is loaded or not

Hi friends,

I know this is wrong forum for this post.
But, I couln't find suitable forum for this post.

I am creating a setup project in which I want to show message box to user to close all instance of excel, if any one is open.

Alternative, If any excel instance is open, i want to cancel setup.

Can anybody help me how can i do that?This is done automatically if I'm not mistaken. If you try to access the excel.exe file, it will fail when the application in started. Otherwise, check the process list of your PC and see if the Excel process exists.

0 comments:

Post a Comment