When I create complex forms with many controls in either VB or C# using VS
2005, it can take several minutes to rename a control, ie. Label234 to
LabelEnablePrompt. This occurs both in debug and release mode and regardless
of if the project was recently saved. This has occurred in several projects
on both XP and Vista. During this renaming operation, CPU utilization goes to
50%.
My computer is a Pentium IV HT 2.6 GHz, 2 GB RAM, defragged SATA HD with
lots of space. Available memory is about 900 MB.
Since I have to take drastic measures to resolve this problem any
suggestions would be welcome.

Signature
Herbert N Swearengen III
Herbert N Swearengen III - 25 Apr 2007 14:42 GMT
I reduced the time from several minutes to 6 or 7 seconds by doing the
following:
1. Created a single pagefile 1.5X my RAM on a separate hard drive from the
system. Then defragged that drive.
2. Removed memory tweaks to keep kernel in RAM and force unloading of unused
DLLs.
3. Frequently (about every 30 minutes) close and reopen the project and VS
2005.
Possibly these ideas may help others with performance problems.

Signature
Herbert N Swearengen III
> When I create complex forms with many controls in either VB or C# using VS
> 2005, it can take several minutes to rename a control, ie. Label234 to
[quoted text clipped - 8 lines]
> Since I have to take drastic measures to resolve this problem any
> suggestions would be welcome.