Click here to Skip to main content
13,139,132 members (82,870 online)
Rate this:
Please Sign up or sign in to vote.
See more:
We have programs in VB.NET 2008 and 2010.

During development, NOT program execution, the forms constantly get rebuilt and many times maxout when moving the form. This happens so often by just switching from form to code and it just drives me nuts.

i.e. I click and drag form to put move form and it maxes. I restore it then go back to code, it takes a few seconds to get control, do a few lines then click back on form and it rebuilds. The rebuilds sometimes take a few seconds. Combine these 2 issues and I wish we were still on VB6.

Any ideas?
Posted 31-Jan-13 1:02am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

We have no idea what you mean by "constantly getting rebuilt".

As for why it's maximizing your form, there's probably a problem in your project. Close VS, then go to your project folder (where your .SLN file is), view hidden files, and delete the .SUO file. Then reopen your project.
QuickBooksDev 31-Jan-13 15:01pm
1. Rebuilding the form. If you go back to code from form and then click on the form it executes the designer rebuilding all the controls and take a few seconds.

2. On the maximizing the form it happens with all projects not just 1.

I just created a new VB.2008 windows project. Trying to drag the form via the top sometimes maximizes it. Same as double clicking on it. Somce this is a new project there is no SUO when it started.

Option is Multiple Documents not Tabbed.

Our forms are complex. Frequently with multiple tabs in tabcontrols.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100