M
martin-g
Hi.
When the user opens the Excel file, which is at the same time used by
my application, it stops calculations and throws an exception with such
information: "The object invoked has disconnected from its clients".
What can I do to resolve this? My application opens the source excel
file using this statement:
oRatelistWbk = AppExcel.Workbooks.Open(
m_FilePath, Missing.Value, true, Missing.Value, Missing.Value,
Missing.Value, Missing.Value, Missing.Value, Missing.Value,
Missing.Value, Missing.Value, Missing.Value, Missing.Value,
Missing.Value, Missing.Value
);
Note, that the file is opened for reading only.
TIA
Martin
When the user opens the Excel file, which is at the same time used by
my application, it stops calculations and throws an exception with such
information: "The object invoked has disconnected from its clients".
What can I do to resolve this? My application opens the source excel
file using this statement:
oRatelistWbk = AppExcel.Workbooks.Open(
m_FilePath, Missing.Value, true, Missing.Value, Missing.Value,
Missing.Value, Missing.Value, Missing.Value, Missing.Value,
Missing.Value, Missing.Value, Missing.Value, Missing.Value,
Missing.Value, Missing.Value
);
Note, that the file is opened for reading only.
TIA
Martin