Get process id of process started with CreateObject in .NET

Posted by Lex on Stack Overflow See other posts from Stack Overflow or by Lex
Published on 2010-03-12T09:45:53Z Indexed on 2010/03/12 9:47 UTC
Read the original article Hit count: 693

Filed under:
|
|
|

Hi!

I'm using VB.NET for a web-application that starts some process using CreateObject, like this:

Dim AVObject = CreateObject("avwin.application")

After all is done everything get closed down en stopped using the proper release functions, however, for some reason the process remains.

Is there some way in which I can get the process id of the started process, in order to explicitly kill it just before termination?

Thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about vb