Click here to Skip to main content
12,748,904 members (41,202 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB Windows Visual-Studio Win7 , +
Hello there

I wonder if any one can help me. I have project that uses standard forms and dialogues developed in Visual Studio 2008. Up until about a month ago, every thing was running fine, however now in the deployed version on my machine, the forms are maximised instantly upon opening. The forms themselves do not have minimise or maximise set on them. The positions of items on the forms seem to have gone slightly wrong also.

Strangely, in the debug version running on VS2008 all appear correctly, it is only when I deploy to my machine outside the VS2008 environment that it happens.

Anybody else experienced anything like this? Could it be registry related or framework related?

Many thanks
Posted 17-Dec-12 7:01am
Kschuler 17-Dec-12 13:44pm
Have you changed any settings with regard to your screen resolution or display settings?
Abhishek Pant 17-Dec-12 14:40pm
I think you deployed the same as they are eariler while you are creating these Forms;so while making these type of forms you should change the Anchor Property to nill so this will not effect design.For example you have a textbox in center of a form and is minimised(standard) it will remain in center if the form is maximised

1 solution

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

Solution 1


It seems you are not adding event handler to dynamic combo boxes  which you are adding at the run time. Add it and it will work fine.


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 | Mobile
Web02 | 2.8.170215.1 | Last Updated 18 Dec 2012
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