Easy_Rider9999 wrote:
> 
> I found the Error I misspelled StandardOutput... The German Standart is
> the same as English standard!!!8-O
> 
> 

This code is working:

Private Sub xvinfo
                        Dim si as new System.Diagnostics.ProcessStartInfo
                        si.CreateNoWindow = true
                        si.UseShellExecute = false
                        si.RedirectStandardOutput = true
                        si.FileName = "xvinfo"
                        Dim p as process = system.diagnostics.process.start(si)
                        Dim s as IO.StreamReader = p.StandardOutput
                        Dim l as String
                        p.start
                        Do 
                                l = s.ReadLine
                                if l is nothing then exit Do
                                Dim iter as TreeIter = 
store.AppendValues(RootIter,l)
                        Loop
                        p.waitforexit
                        
                        
                End Sub

-- 
View this message in context: 
http://old.nabble.com/Redirecting-output-of-console-application-to-stream-tp26343579p26353221.html
Sent from the Mono - VB mailing list archive at Nabble.com.

_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb

Reply via email to