Posted to microsoft.public.excel.programming
|
|
Where to ask- running Excel from .NET?
Chip,
It is and I have a bunch of code to prevent it. But, so far, it's not
solving the problem. Would this be the right forum to expound on the problem?
Thanks,
JustMe
"Chip Pearson" wrote:
I'm not sure if this is still a problem under NET, but under native
COM, Excel would remain running if there was any reference to it that
was not specifically set to Nothing (VB, null in C++). Try tearing
down any reference type variables to Nothing and see if this helps.
Cordially,
Chip Pearson
Microsoft Most Valuable Professional,
Excel, 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
On Tue, 23 Mar 2010 12:07:01 -0700, JustMe
wrote:
Hi all,
I have been over at the MSDN forums and someone pointed me here.
I am trying to create an instance of Excel from within .NET so I can
populate it with some data and save it. All works fine. However, after I
tell excel to quit (which it appears to do), if I go into task manager, I can
see it is still running. And if I do the process again, I get 2 copies of
Excel in task manager. This is with Excel 2007 and Win XP.
I have tried a bunch of things, none of which have worked.
One possibility is that I work in at a defense contractor and it might be
that they have some policy or other behind the scene add on that might be
keeping Excel from exiting properly.
Anyway, I am hoping that there is a forum here where someone might have some
ideas as to what might be keeping Excel from completely closing as it should.
If so, could you point me in the correct direction?
Yes, I can provide much more details once I find the appropriate place to
discuss it.
Thank you,
JustMe
.
|