i need to run this dos command in a VB application and record the outcome in a Chart the line needs to run until its told to stop, can anyone help please.

"netstat - e > c:\temp.txt"


Thanks