title: Get process id of process started with CreateObject in .NET
body: <p>I'm using VB.NET for a web-application that starts some process using CreateObject, like this:</p>
  
  <pre><code>Dim AVObject = CreateObject("avwin.application")
  </code></pre>
  
  <p>After all is done everything get closed down en stopped using the proper release functions, however, for some reason the process remains. </p>
  
  <p>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?</p>
  
  <p>Thanks</p>