Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / April 2007

Tip: Looking for answers? Try searching our database.

VS 2005 SP1 Hangs while typing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel Copa - 25 Apr 2007 19:18 GMT
Last week we installed SP1 for VS2005.  Now all the sudden every project
that I attempt to code in will randomly pause while the IDE does whatever
and then unpauses and you can type some more.

I type say 20 characters, then wait for 20 seconds, type 10 more, wait for
20 seconds.  It is almost impossible to concentrate knowing that the IDE is
about the hang up on you for 20 seconds.

Has anyone heard of this issue or know where i can go find information on
it?

Thanks!
Copa
Jim Rand - 25 Apr 2007 22:33 GMT
I have not installed SP1 and have decided not to. With that said, are you
typing code in the code behind a Windows form and is that form open in
designer mode? If it is, try closing the designer window.

> Last week we installed SP1 for VS2005.  Now all the sudden every project
> that I attempt to code in will randomly pause while the IDE does whatever
[quoted text clipped - 9 lines]
> Thanks!
> Copa
Daniel Copa - 26 Apr 2007 13:06 GMT
I think i figured it out.  I am working on a Composite control so the only
file open is the class that i was working on.  Client Code is written out
dynamically by this class.

The problem appears that I was writing out client code using a StringBuilder
to concatenate all the client script to be written out.  This StringBuilder
was going on 600 or so appendline statements and everytime i put my cursor
at the beginning of the line to copy or paste, the IDE obviously feels that
it needs to do something which was taking anywhere from 20 seconds to a
couple minutes.

I have since divided the lines of the stringbuilder into one "main"
stringbuilder and 3 "sub" stringbuilders that build seperate parts of the
client code that the Composite control needs to write out.  Visual Studios
now only pauses for less than a second sometimes and so it now behaves much
more acceptably.

Cheers!
Copa

>I have not installed SP1 and have decided not to. With that said, are you
>typing code in the code behind a Windows form and is that form open in
[quoted text clipped - 13 lines]
>> Thanks!
>> Copa

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.