title: want to call function "_popen" from vb6 program
body: <p>I try to call "_popen" from vb6 (<a href="http://support.microsoft.com/kb/99456/EN-US" rel="nofollow">http://support.microsoft.com/kb/99456/EN-US</a>), I was not successful, I tried:</p>
  
  <pre><code>Private Declare Function "_popen" Lib "msvcrt.dll" () As Long
  
  Sub Main()
    Dim fnum As Integer
    fnum = _popen("netstat -ano", "r")
  </code></pre>
  
  <p>Thanks a lot in advance<br>
  Wolfgang</p>