Why ? Forms and objects in it rezise automatically ?

G

Guest

I have a weird problem, I have just upgraded from VS2002 to VS2003.
I am using VB.Net. Now when I open to edit the form created in VS2002 in VS2003
the form and all the objects inside will shrink verticarly. The width is the same but
the height will get smaller and smaller every time I open the form designer.

Please help as I can not go back to VS2002.
 
H

Herfried K. Wagner [MVP]

* "=?Utf-8?B?U2hhd24=?= said:
I have a weird problem, I have just upgraded from VS2002 to VS2003.
I am using VB.Net. Now when I open to edit the form created in VS2002 in VS2003
the form and all the objects inside will shrink verticarly. The width is the same but
the height will get smaller and smaller every time I open the form designer.

Please help as I can not go back to VS2002.

Does your form have a toolwindow border?
 
H

Herfried K. Wagner [MVP]

* "=?Utf-8?B?U2hhd24=?= said:
No I don't, I am using Fixed3D.

Mhm..

Does that even occur for a very simple VS.NET 2002 application when
upgrading to 2003?
 
D

Doug Forster

Hi Shawn,

Does your programming team have monitors with different dpi settings
perchance? The problem you describe will happen if the form is created on a
machine with a different dpi setting from your one.

Cheers

Doug Forster
 
G

Guest

Thanks for all your help but I have manage to solve this issue.

How it resize is like :-
a command button default size is 75,23
after I open the form designer and close and open again the size of the command button will becode 75,20 and so on every time I open and clode the form designer.

In VS2002 I had a problem of refreshing the windows form. When ever I place an object on the form it does not display at run time. There for I created a blank windows form and upon activate_event of the form I refresh the entire for. I inherited this form to the rest. It worked fine.

Now I upgraded the VS2002 projects into VS2003. Everything is ok only if I open the windows form the problems occurs. I removed the activate_event from the blank windows form which I inherited and everything seems to be working fine.

Once more thanks again for all the help provided.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top