Thursday, April 27, 2006

Clearing recent projects list in Visual studio

Visual studio stores the most recently used (MRU's) projects opened int the registry under the path

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\Version\ProjectMRUList

where Version is the version number of visual studio (e.g VS2005 = 8.0). Clearing this list will reset the values on the start page

Tuesday, April 25, 2006

Clearing the StringBuilder

Its been 4 months now since my last post, I have not been up to much on the development side but here's hoping I get back to my old ways soon.

Right starting off with the StringBuilder, it does not have a clear or reset method to clear the string. I later found out from Brad (Brad Abrams of the BCL team @ Microsoft) that setting the length property to zero clears the string.