Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Jem
Posted
Comments
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

SQL
Hi,

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.


RKS
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900