Thanks,
I've now tried to use the event from the output stream, but it seems like
the process doesn't output anything until it has finished. Under normal
conditions the commandline program outputs some information every 3'rd
second, but as written I only got the event when the command line program
exits??? Is that a normal behaviour from a DOS program?
Thanks,
Ole
"Ciaran O''Donnell" <(E-Mail Removed)> wrote in
message news:FCC92F78-A834-4256-8BBE-(E-Mail Removed)...
> You cant bind a stream to a textbox but there is an event on the Process
> object that fires when texts is written to the output stream. You can
> handle
> this event and use textbox.Invoke to update the textbox text. You have to
> use
> invoke as the event fires on a background thread.
>
>
> --
> Ciaran O''Donnell
> http://wannabedeveloper.spaces.live.com
>
>
> "Ole" wrote:
>
>> Hi,
>>
>> Is it possible to bind the output from process to a textBox?
>>
>> Thanks,
>> Ole
>>
>>
>>