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.