| re: strange console output question
If you have 2.0 you have Console.CursorLeft, Console.CursorTop to set cursor
position.
--
William Stacey [MVP]
"djc" <noone@nowhere.com> wrote in message
news:OwRy2CbWGHA.3496@TK2MSFTNGP05.phx.gbl...
| is this possible:
|
| lets say my output has 2 columns with headings like 'host' and 'status'.
|
| host status
| ------------
| host1 down
| host2 up
| host3 up
| host4 down
|
| when the status of a host changes I want to update the display and have it
| appear that only that hosts status changed. I know I can have all output
as
| a string, update the string and redisplay it, but that will keep repeating
| down the screen. To make that better I could simply first clear the screen
| before displaying the updated output. But the downside to that is that my
| program may then clear other important output from previous console
commands
| which I don't want to do. What I want to do is give the appearance that
the
| existing output is updated right in its existing place. So 1) is there a
way
| to essentially clear *only your* program's output so the whole console
| buffer is not lost? or actually just overwrite your existing output? and
2)
| as a plan 'B', can I force my program to open in a new console window of
its
| own?
|
| any input is appreciated. thanks.
|
| |