G
Guest
Hello
I am Using Following Code to Open Ex cel File From my C# Windows based
Application.
myProcess = new System.Diagnostics.Process();
myProcess.StartInfo.FileName = strFilePath;
myProcess.StartInfo.UseShellExecute = true;
myProcess.Start();
This Works Fine when I Open the File FirstTime.
When I try to Open A Already open File through this Code.
Then Close that Excel File and Try to open it again with this Code or From
Anywhere else by Clicking any Excel File, The Excel Application Does not open
Properly. (The reason Being that although the Excel Application is Closed its
Process Excel.exe is still running.) We need to Terminate the Process from
Task manager to Open Excel Again.
I am Using Following Code to Open Ex cel File From my C# Windows based
Application.
myProcess = new System.Diagnostics.Process();
myProcess.StartInfo.FileName = strFilePath;
myProcess.StartInfo.UseShellExecute = true;
myProcess.Start();
This Works Fine when I Open the File FirstTime.
When I try to Open A Already open File through this Code.
Then Close that Excel File and Try to open it again with this Code or From
Anywhere else by Clicking any Excel File, The Excel Application Does not open
Properly. (The reason Being that although the Excel Application is Closed its
Process Excel.exe is still running.) We need to Terminate the Process from
Task manager to Open Excel Again.