Hi,
You better contact the third party provider and tell them about the problem.
What you want to do is not the best solution, you have no idea what the app
does or what resources it use.
Anyway, what you can do is get a list of Processes using
System.Diagnostics.Process.GetProcesses and just kill them by using Kill

Signature
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
>I have a multithreading application that opens an app in the background
>from
[quoted text clipped - 12 lines]
>
> -Chris
Chris - 17 Oct 2007 15:06 GMT
Great, I am sort of new the .Net world. Any suggestions on how to get
started. What objects do I need to grab and how would I grab them?
Thanks Again,
-Chris
> Hi,
>
[quoted text clipped - 21 lines]
> >
> > -Chris
Ignacio Machin ( .NET/ C# MVP ) - 17 Oct 2007 15:38 GMT
Hi,
Inmy post you will find what you need, the Process class, the GetProcessed
method and the most important method of all the Kill method :)
just use them wisely ;)

Signature
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
> Great, I am sort of new the .Net world. Any suggestions on how to get
> started. What objects do I need to grab and how would I grab them?
[quoted text clipped - 34 lines]
>> >
>> > -Chris
Chris - 17 Oct 2007 15:48 GMT
Thank you Ignacio
-Chris
> Hi,
>
[quoted text clipped - 41 lines]
> >> >
> >> > -Chris
>I have a multithreading application that opens an app in the background
>from
[quoted text clipped - 12 lines]
>
> -Chris
I'm not clear on what you mean by "it will not close this instance of the
app when it is done using it.", who is *it*, who's supposed to *close* the
application and what exactly do you mean with *close*.
What kind of application is this that you start from a Windows service?
Willy.
Ignacio Machin ( .NET/ C# MVP ) - 17 Oct 2007 18:33 GMT
Hi,

Signature
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
>>I have a multithreading application that opens an app in the background
>>from
[quoted text clipped - 17 lines]
> application and what exactly do you mean with *close*.
> What kind of application is this that you start from a Windows service?
From his post I think he just want to kill some process. How he decide which
process is "idle" I have no idea
Willy Denoyette [MVP] - 17 Oct 2007 20:38 GMT
> Hi,
>
[quoted text clipped - 22 lines]
> From his post I think he just want to kill some process. How he decide
> which process is "idle" I have no idea
The problem IMO, is that the OP starts an application that was not really
designed to be started from a Service. An application that is started from a
Service needs to be as robust as a Service itself, must not assume to run in
an interactive session and must be able to recover from failures or at least
to signal failures back to the process that started the application. Anyway,
killing a process is something you do as a last resort.
Willy.