In a message regarding Asynchronous Shell broken on Windows? dated Sun, 2 Jul 2006 11:43:48 -0700, Nicholas Melnick said that ...
> Has anyone successfully used the async shell on Windows, or am I out > of luck? My next option is to have the command output to a text file > and have realbasic open a stream to the text file, but I really don't > want to go there. What shell command are you calling? This works OK for me in 2006r2 I subclassed a shell as MyShell but added nothing to the subclass. Put an instance of the subclass on the window as MyShell1 In it's DataAvailable event put Sub DataAvailable() EditField1.AppendText me.ReadAll EditField1.SelStart = EditField1.Text.Len End Sub (Editfield1 is a multiline EditField) and called it from a pushbutton Sub Action() myShell1.Mode = 1 myShell1.Execute "dir /s c:\" End Sub The editfield updates continuously from the first second, though the shell takes an age to complete. -- Steve Garman Using REALbasic 2006r2 Professional on Windows XP Pro _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
