ADAdministrator Syncfusion Team April 19, 2005 11:47 AM
Here is a code snippet to check for a file that already exists
catch (System.Runtime.InteropServices.ExternalException ex)
if(ex.ErrorCode == -2147287007)
MessageBox.Show("The file that you are trying to create is already open","File is Open");
> If I want to toc check the instance of file (X.xls) is it open or not? How I can do this? provide example with (Iworkbook) object.