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 / IDE / February 2005

Tip: Looking for answers? Try searching our database.

Problem with IDE freezing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JT - 05 Feb 2005 05:53 GMT
I wanted to let you know about something that happened in VS.NET 2003.  I was
working in a windows forms app, on the code view page.  I started to write
Private Sub, then changed my mind and went to the controls dropdown, picked a
control, and went to the events dropdown, and tried to get the IDE to
autogenerate the sub I was going to write.  The IDE locked up for about a
minute.
Signature

John

Gary Chang[MSFT] - 05 Feb 2005 08:04 GMT
>I wanted to let you know about something that happened
>in VS.NET 2003.  I was working in a windows forms app,
>on the code view page.  I started to write Private Sub,
>... then

Hi John, I think you are talking about a VB.NET WinForm program, is it?

When that problem happens? Do you have left some custom code of that
Private Sub?
Would you please give us the detail repro step of this problem if it could
be reproduced?

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ??C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.
JT - 05 Feb 2005 14:47 GMT
Sure.
1. Open a New VB7 WinForms project
2. Place  a control on the form
3. Switch to code view
4. Below the Windows Designer Code, type Private Sub (as if you were going
to write a sub)
5. Go to the contols combobox at the top of the form and select your control
6. Go to the next combobox to the right and click on any of the control's
events, as if you wanted the IDE to template out an event handler for you.

The IDE will now freeze up like the girls in my early dating experiences.

JT

> >I wanted to let you know about something that happened
> >in VS.NET 2003.  I was working in a windows forms app,
[quoted text clipped - 21 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
Peter van der Goes - 06 Feb 2005 15:14 GMT
> Sure.
> 1. Open a New VB7 WinForms project
[quoted text clipped - 10 lines]
>
> JT

Sorry for the interruption.
Following your steps, I had this happen:
After step 6, the IDE *appeared* to freeze up, but what had actually
happened was that the code view had somehow scrolled full right, making the
code window appear empty. Once I realized what had happened, scrolling back
to the left revealed my input Private Sub, identified as an incomplete
statement, with the new event procedure below.
I tried this with several controls (button, textbox and label), and the
behavior is consistent here. No freeze, just the scroll to the right.

Signature

Peter [MVP Visual Developer]
Jack of all trades, master of none.

Gary Chang[MSFT] - 08 Feb 2005 02:55 GMT
Hi Jthayer,

Peter's comment:
>After step 6, the IDE *appeared* to freeze up, but what had
>actually happened was that the code view had somehow scrolled
>full right, making the code window appear empty. Once I realized
>what had happened, scrolling back to the left revealed my input
>Private Sub, identified as an incomplete statement, with the new event
>procedure below.

I have the same opinion with Peter's, the VS.NET IDE isn't really freezing
here, the problem is due to your incomplete Sub statement, the code editor
window has been navigated to the far right place. If you complete your Sub
statement, it would be well then:
Private Sub test()
Sub
..

Private Sub Button1_Click(...
..

Have a nice day!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ??C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

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.