ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Starting excel and running it on the same process (https://www.excelbanter.com/excel-programming/397448-starting-excel-running-same-process.html)

C#_Programmer[_2_]

Starting excel and running it on the same process
 
I would like to start excel from a C# application, however my excel
(VSTO) addin will be accessing the same singleton class. Is there a way to
start excel so it will be running on the same process as the C# app, so I can
avoid cross threading issues? The C# application will not be used during the
excel app. But now I am using Process.WaitForExit ()... I would like to
find another way to start excel.. Any ideas?


All times are GMT +1. The time now is 08:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com