G
Guest
Hi everyone,
In a recent post I ask about a problem:
Today I have deepened the problem, and this is the new scenario:
1) I open "MyWorkbook.xsl" file with EXCEL;
2) In my worksheet I open a .NET application using SHELL function;
3) The opened .NET Application perform an ADO.NET Connection and a Query
from "MyWorkbook.xsl" workbook.
4) After perform the query, the connection and all the ADO.NET object
involved will be closed and disposed;
5) Now I close my .NET application;
6) If now I close Excel, the UI quit but the process EXCEL.EXE remain active
and I must close it by the Task Manager.
I suppose that the ADO.NET Connection, in some manner, remain opened or
locked and lock my workbook... So, how I can unlock the situation ?
Any ideas?
Thanks in advance.
Lorenzo Melato
In a recent post I ask about a problem:
If I open a .NET application from EXCEL using SHELL function, when I close
EXCEL, the EXCEL.EXE process remain active and I must close it by Task
manager.
Today I have deepened the problem, and this is the new scenario:
1) I open "MyWorkbook.xsl" file with EXCEL;
2) In my worksheet I open a .NET application using SHELL function;
3) The opened .NET Application perform an ADO.NET Connection and a Query
from "MyWorkbook.xsl" workbook.
4) After perform the query, the connection and all the ADO.NET object
involved will be closed and disposed;
5) Now I close my .NET application;
6) If now I close Excel, the UI quit but the process EXCEL.EXE remain active
and I must close it by the Task Manager.
I suppose that the ADO.NET Connection, in some manner, remain opened or
locked and lock my workbook... So, how I can unlock the situation ?
Any ideas?
Thanks in advance.
Lorenzo Melato