Hello,
After Instantiating a new Word2007 Process and doing something with it It
does not seem to go away. Like get killed.
However
After Instantiating a new Excel2007 Process and when my Program exists it
gets killed.
I found this out when viewing the TaskManager to see what is happening.
Assume app = new Microsoft.office.Interop.Word.Application, or
......Excel.Application
I set app = nothing
I tried to find if app has app.close() or app.exit() or some method to
close it or kill it and I find nothing
How can I find if an instance of an application is running under TaskManager
and how do I kill it.
I would rather see it get killed at will or at the end of the program that
insatiate it.
Thanks for any help
Lit
I did not see Quite()
Okay app.Quit() does make Word to Quit but not Excel
I must be doing something wrong here.
Lit
"Lit" <sql_agentman@hotmail.com> wrote in message
news:%23rtEWJehGHA.4404@TK2MSFTNGP05.phx.gbl...
> Hello,
>
> After Instantiating a new Word2007 Process and doing something with it It
> does not seem to go away. Like get killed.
>
> However
>
> After Instantiating a new Excel2007 Process and when my Program exists it
> gets killed.
>
> I found this out when viewing the TaskManager to see what is happening.
>
> Assume app = new Microsoft.office.Interop.Word.Application, or
> .....Excel.Application
> I set app = nothing
> I tried to find if app has app.close() or app.exit() or some method to
> close it or kill it and I find nothing
>
> How can I find if an instance of an application is running under
> TaskManager and how do I kill it.
>
> I would rather see it get killed at will or at the end of the program that
> insatiate it.
>
> Thanks for any help
>
> Lit
>
>
>
>
Alvin Bruney
06-02-2006, 12:04 PM
probably not, it's still in beta
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"Lit" <sql_agentman@hotmail.com> wrote in message
news:%23hMBfNehGHA.1324@TK2MSFTNGP04.phx.gbl...
>I did not see Quite()
>
> Okay app.Quit() does make Word to Quit but not Excel
> I must be doing something wrong here.
>
> Lit
>
> "Lit" <sql_agentman@hotmail.com> wrote in message
> news:%23rtEWJehGHA.4404@TK2MSFTNGP05.phx.gbl...
>> Hello,
>>
>> After Instantiating a new Word2007 Process and doing something with it It
>> does not seem to go away. Like get killed.
>>
>> However
>>
>> After Instantiating a new Excel2007 Process and when my Program exists it
>> gets killed.
>>
>> I found this out when viewing the TaskManager to see what is happening.
>>
>> Assume app = new Microsoft.office.Interop.Word.Application, or
>> .....Excel.Application
>> I set app = nothing
>> I tried to find if app has app.close() or app.exit() or some method to
>> close it or kill it and I find nothing
>>
>> How can I find if an instance of an application is running under
>> TaskManager and how do I kill it.
>>
>> I would rather see it get killed at will or at the end of the program
>> that insatiate it.
>>
>> Thanks for any help
>>
>> Lit
>>
>>
>>
>>
>
>
Alvin,
Thank you Alvin, you been a great help.
Lit
"Alvin Bruney" <www.lulu.com/owc> wrote in message
news:eorCYRjhGHA.896@TK2MSFTNGP02.phx.gbl...
> probably not, it's still in beta
>
>
> --
>
> ________________________
> Warm regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> Professional VSTO.NET - Wrox/Wiley
> The O.W.C. Black Book with .NET
> www.lulu.com/owc, Amazon
> Blog: http://www.msmvps.com/blogs/alvin
> -------------------------------------------------------
>
> "Lit" <sql_agentman@hotmail.com> wrote in message
> news:%23hMBfNehGHA.1324@TK2MSFTNGP04.phx.gbl...
>>I did not see Quite()
>>
>> Okay app.Quit() does make Word to Quit but not Excel
>> I must be doing something wrong here.
>>
>> Lit
>>
>> "Lit" <sql_agentman@hotmail.com> wrote in message
>> news:%23rtEWJehGHA.4404@TK2MSFTNGP05.phx.gbl...
>>> Hello,
>>>
>>> After Instantiating a new Word2007 Process and doing something with it
>>> It does not seem to go away. Like get killed.
>>>
>>> However
>>>
>>> After Instantiating a new Excel2007 Process and when my Program exists
>>> it gets killed.
>>>
>>> I found this out when viewing the TaskManager to see what is happening.
>>>
>>> Assume app = new Microsoft.office.Interop.Word.Application, or
>>> .....Excel.Application
>>> I set app = nothing
>>> I tried to find if app has app.close() or app.exit() or some method to
>>> close it or kill it and I find nothing
>>>
>>> How can I find if an instance of an application is running under
>>> TaskManager and how do I kill it.
>>>
>>> I would rather see it get killed at will or at the end of the program
>>> that insatiate it.
>>>
>>> Thanks for any help
>>>
>>> Lit
>>>
>>>
>>>
>>>
>>
>>
>
>