F
Franky
Got this from the Internet. Almost what I need except instead of putting the
data into a file I'd like it to go into a TextBox.
Can someone show me how to do that
thanks
pi.RedirectStandardOutput = True
pi.FileName = .FileName
pi.UseShellExecute = False
Dim sw As New System.IO.StreamWriter("C:\OutPut.txt")
p = Process.Start(pi)
sw.WriteLine(p.StandardOutput.ReadToEnd)
p.WaitForExit()
sw.Close()
data into a file I'd like it to go into a TextBox.
Can someone show me how to do that
thanks
pi.RedirectStandardOutput = True
pi.FileName = .FileName
pi.UseShellExecute = False
Dim sw As New System.IO.StreamWriter("C:\OutPut.txt")
p = Process.Start(pi)
sw.WriteLine(p.StandardOutput.ReadToEnd)
p.WaitForExit()
sw.Close()