Inheritance: ExcelDna.Integration.ExcelComAddIn
Exemplo n.º 1
0
 public void AutoOpen()
 {
     ExcelIntegration.RegisterUnhandledExceptionHandler(ex => "!!! EXCEPTION: " + ex.ToString());
     ComServer.DllRegisterServer();
     try
     {
         _comAddin = new qXLComAddIn();
         ExcelComAddInHelper.LoadComAddIn(_comAddin);
     }
     catch (Exception ex)
     {
         MessageBox.Show(@"Error loading COM AddIn: " + ex);
     }
 }
Exemplo n.º 2
0
 public void AutoOpen()
 {
     ExcelIntegration.RegisterUnhandledExceptionHandler(ex => "!!! EXCEPTION: " + ex.ToString());
     ComServer.DllRegisterServer();
     try
     {
         _comAddin = new qXLComAddIn();
         ExcelComAddInHelper.LoadComAddIn(_comAddin);
     }
     catch (Exception ex)
     {
         MessageBox.Show(@"Error loading COM AddIn: " + ex);
     }
 }