title: cannot hide process
body: <p>i want to start calc.exe and hide it<br/> 
  but only can start the exex but cant hide<br/> 
  what error in my code??<br/> </p>
  
  <pre><code>Imports System.Runtime.InteropServices
  Imports System.IntPtr
  Public Class Form1
      &lt;DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)&gt; _  
      Private Shared Function ShowWindowAsync(ByVal hwnd As IntPtr, ByVal nCmdShow As Integer) As Boolean
      End Function 
      Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
          Dim a As IntPtr = Process.GetProcessesByName("Calc")(0).Id
          ShowWindowAsync(a, 0)
      End Sub
  End Class
  </code></pre>