Click here to Skip to main content
11,721,385 members (82,218 online)
Rate this: bad
Please Sign up or sign in to vote.
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 6:01am
Kschuler at 17-Dec-12 13:44pm
Have you changed any settings with regard to your screen resolution or display settings?
Abhishek Pant at 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
0 Sergey Alexandrovich Kryukov 510
1 OriginalGriff 249
2 Mika Wendelius 170
3 F-ES Sitecore 80
4 cyycoish 70
0 Sergey Alexandrovich Kryukov 2,209
1 OriginalGriff 969
2 F-ES Sitecore 660
3 Maciej Los 609
4 Richard MacCutchan 560

Advertise | Privacy | Mobile
Web03 | 2.8.150901.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2015
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