Hi Matthew,
> Hi everyone,
> I have what I think are 2 pretty simple questions. I know I have done
[quoted text clipped - 8 lines]
> easy
> way to do this with threading.
Possibly, or you could call Application.DoEvents() more often.
> #2: This one is really dumb, but I'm having a slow day. How can I get
> the
> text box to autoscroll to the bottom everytime & add text dynamically to
> it?
Use SelectionStart to place your caret and TextBox.ScrollToCaret() to move
the ScrollBar.
> Thanks all in advance,
NP
> Matt

Signature
Happy Coding!
Morten Wennevik [C# MVP]
Matthew MacDonald - 21 Jan 2005 12:56 GMT
The fix for #2 that you suggest works fine, thanks.
The problem with application.doevents is that I am calling it on every
iteration of my loop, but the statement in the body of the loop (a wmi call
to a remote system) takes so long to process, that it still doesn't make the
scrolling fluid, you still have to wait for the loop to get around to
process the scroll event. Any other ideas?
Thanks again,
Matt
> Hi Matthew,
>
[quoted text clipped - 26 lines]
>
> > Matt