Sure, you just need to fiddle with it a little.
Console.Write("Decompressing...\r");
while(true)
{
Console.Write("Decompressing...{0}%\r", var);
}
Note the carrage return but no line feed. You could also do this with
backspace(s) if you wish.
I did something similar with color in the MSH shell beta in a cmdlet.
This works if you don't munge your display with other output. Another idea
is to update the Titlebar instead with your status info and reset the bar
back to original when done.
> I've been searching for a clue for this but can't find one.
>
[quoted text clipped - 8 lines]
>
> Thanks
> Sure, you just need to fiddle with it a little.
> Console.Write("Decompressing...\r");
[quoted text clipped - 11 lines]
> is to update the Titlebar instead with your status info and reset the bar
> back to original when done.
Thanks for your tips, that helps.
If I need to use more than 1 line I can just fill the end of my line
with white spaces. Yet, that can be a mess because I do not know the
screen/window chars with. Any clue on this one? Also how can I put
colors in there? (What is MSH Shell?)
William Stacey [MVP] - 13 May 2004 05:06 GMT
> If I need to use more than 1 line I can just fill the end of my line
> with white spaces. Yet, that can be a mess because I do not know the
> screen/window chars with.
Not sure I understand your need.
> Also how can I put colors in there? (What is MSH Shell?)
Win32 pinvoke or look for xConsole library on google or WinConsole:
http://www.codeproject.com/csharp/winconsole.asp?target=Console%7CEnhancements
LH will have color console support, but that is down the road.

Signature
William Stacey, MVP