I 'm working on windows application. From a Menu Item the user will open up the excel file to view the report. If the user minimizes that excel file and tries to open another from the same Menu Item , the application is going to throw exception. Is there any way to prevent this?
like for eg: when the user tries to open the excel file for the second time, show a message in the message box to close the one which is already opened.. or disable everything else on the windows form untill the opened file is closed like in message box where nothing else works ultil Ok button is clicked.