you can dump the results of the commands into a file:
VB Code:
Shell("netstat > log.txt", vbNormalFocus)
and then read in the file in vb:
VB Code:
Dim Buffer As String Dim Temp As String Open "log.txt" For Input As #1 Do Until EOF(1) Input #1, Temp Buffer = Buffer & Temp Loop
and then kill the file:
VB Code:
Kill "log.txt"
hope this helps




Reply With Quote