Archive for December, 2006

In order to automatically scroll to the end of a text box in a windows forms, simply add the following code.

this.txtResults.Text += “\r\n” + newLineData; // newLineData is string added as new line
this.txtResults.Select(this.txtResults.Text.Length, 0);

where txtResults is the textbox in question.

Also you need to make sure that the textbox is a multiline AND it has a vertical scroll bar.

That simple code will make the text automatically scroll to the end of the text box.

Read Full Post »

VS 2005 SP1 released

Visual studio Service Pack 1 has been released.


You can find service pack for visual studio professional, Express and Team suite Editions.

Read Full Post »