引用第三方控件DSOFramer发生异常
ActiveDocument = “dsoview.ActiveDocument”引发了“System.Runtime.InteropServices.COMException”类型的异常
if (FH.FileIsExist(xlsFile))
{
try
{
dsoview.Open(xlsfile);
}
catch
{
dsoview.Close();
//dsoFramer.Dispose();
this.Close();
//OpenXls(xlsfile);
return;
}
}
红色shi异常的地方,求解,急求