Re: strange console output question
- From: "William Stacey [MVP]" <william.stacey@xxxxxxxxx>
- Date: Thu, 6 Apr 2006 15:37:42 -0400
If you have 2.0 you have Console.CursorLeft, Console.CursorTop to set cursor
position.
--
William Stacey [MVP]
"djc" <noone@xxxxxxxxxxx> wrote in message
news:OwRy2CbWGHA.3496@xxxxxxxxxxxxxxxxxxxxxxx
| 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.
|
|
.
- Follow-Ups:
- Re: strange console output question
- From: djc
- Re: strange console output question
- References:
- strange console output question
- From: djc
- strange console output question
- Prev by Date: strange console output question
- Next by Date: Random -- impacted by the computer?
- Previous by thread: strange console output question
- Next by thread: Re: strange console output question
- Index(es):
Relevant Pages
|