Arghhh!! How to do Resolution aware app VS2005

  • Thread starter Thread starter Tery
  • Start date Start date
T

Tery

I'm going crazy trying to figure out the 'easiest' way to create resolution
aware forms. nearly all the info I can find relates to VS2003.

Can anyone help point me in the right direction or perhaps samples on how to
make a form look good regardless of resolution or orientation?

Thanks,
Terry
 
The following link says:

"...The designer automatically generates this code, and the controls on your
form will automatically scale to handle different DPI settings..."

This does not appear to work for me. Some controls are scaled and
positioned correctly when switching from VGA to non vga. Howevr for
example, when I have textboxes on tabpages, the textboxes remain the same
scale so when switching to VGA it is impossible to read them.

http://msdn2.microsoft.com/en-us/library/ms229649.aspx

HELP
 
I've just created a new Device Application in VS2005 RTM with TextBox
and Button and it looks as expected for:

* Pocket PC 2003 SE VGA Emulator
* Windows Mobile 5.0 Device (i-mate JasJar)

What version of VS2005 (Beta1, Beta2, RC, RTM?) do you have?
 
I can't open your solution - it shows me that it has unknown platform. I
create new solution, copy your forms into it then deploy to WM5.0 device
and again everything is ok. Please describe your working environment:
VS version (with build number), what emulator/device are you using, etc.


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Maybe I'm expecting the unexpected. I'm attaching a sample project that
demonstrates my problem.

When you open the form, it will be shown using a WM5.0 VGA PocketPC form
factor. It looks terrible. Change the form factor to the normal WM5.0
Pocket PC and it looks great.

Is there any way to create a form so that regardless of what device it's
shown on it will look the same? I'm aware of manually changing control
sizes and locations in the resize event, but before I go to all that work
I'd like to know if any other solutions are possible.

Thanks again.
Terry
I've just created a new Device Application in VS2005 RTM with TextBox
and Button and it looks as expected for:

* Pocket PC 2003 SE VGA Emulator
* Windows Mobile 5.0 Device (i-mate JasJar)

What version of VS2005 (Beta1, Beta2, RC, RTM?) do you have?

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

I'm going crazy trying to figure out the 'easiest' way to create
resolution
aware forms. nearly all the info I can find relates to VS2003.

Can anyone help point me in the right direction or perhaps samples on how
to
make a form look good regardless of resolution or orientation?

Thanks,
Terry
 
THanks for looking into this Sergey ... I'm at my wits end. Has anyone else
been unable to load the sample app?

Here is my environment:

Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual Basic 2005 77626-009-0000007-41123
Microsoft Visual Basic 2005

Microsoft Visual C# 2005 77626-009-0000007-41123
Microsoft Visual C# 2005

Microsoft Visual C++ 2005 77626-009-0000007-41123
Microsoft Visual C++ 2005

Microsoft Visual J# 2005 77626-009-0000007-41123
Microsoft Visual J# 2005

Microsoft Visual Web Developer 2005 77626-009-0000007-41123
Microsoft Visual Web Developer 2005

Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005



Sergey Bogdanov said:
I can't open your solution - it shows me that it has unknown platform. I
create new solution, copy your forms into it then deploy to WM5.0 device
and again everything is ok. Please describe your working environment:
VS version (with build number), what emulator/device are you using, etc.


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Maybe I'm expecting the unexpected. I'm attaching a sample project that
demonstrates my problem.

When you open the form, it will be shown using a WM5.0 VGA PocketPC form
factor. It looks terrible. Change the form factor to the normal WM5.0
Pocket PC and it looks great.

Is there any way to create a form so that regardless of what device it's
shown on it will look the same? I'm aware of manually changing control
sizes and locations in the resize event, but before I go to all that work
I'd like to know if any other solutions are possible.

Thanks again.
Terry
I've just created a new Device Application in VS2005 RTM with TextBox
and Button and it looks as expected for:

* Pocket PC 2003 SE VGA Emulator
* Windows Mobile 5.0 Device (i-mate JasJar)

What version of VS2005 (Beta1, Beta2, RC, RTM?) do you have?

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Tery wrote:

I'm going crazy trying to figure out the 'easiest' way to create
resolution
aware forms. nearly all the info I can find relates to VS2003.

Can anyone help point me in the right direction or perhaps samples on
how to
make a form look good regardless of resolution or orientation?

Thanks,
Terry
 
What device are you targeting?

Paul T.

Tery said:
THanks for looking into this Sergey ... I'm at my wits end. Has anyone
else been unable to load the sample app?

Here is my environment:

Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual Basic 2005 77626-009-0000007-41123
Microsoft Visual Basic 2005

Microsoft Visual C# 2005 77626-009-0000007-41123
Microsoft Visual C# 2005

Microsoft Visual C++ 2005 77626-009-0000007-41123
Microsoft Visual C++ 2005

Microsoft Visual J# 2005 77626-009-0000007-41123
Microsoft Visual J# 2005

Microsoft Visual Web Developer 2005 77626-009-0000007-41123
Microsoft Visual Web Developer 2005

Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005



Sergey Bogdanov said:
I can't open your solution - it shows me that it has unknown platform. I
create new solution, copy your forms into it then deploy to WM5.0 device
and again everything is ok. Please describe your working environment:
VS version (with build number), what emulator/device are you using, etc.


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Maybe I'm expecting the unexpected. I'm attaching a sample project that
demonstrates my problem.

When you open the form, it will be shown using a WM5.0 VGA PocketPC form
factor. It looks terrible. Change the form factor to the normal WM5.0
Pocket PC and it looks great.

Is there any way to create a form so that regardless of what device it's
shown on it will look the same? I'm aware of manually changing control
sizes and locations in the resize event, but before I go to all that
work I'd like to know if any other solutions are possible.

Thanks again.
Terry

I've just created a new Device Application in VS2005 RTM with TextBox
and Button and it looks as expected for:

* Pocket PC 2003 SE VGA Emulator
* Windows Mobile 5.0 Device (i-mate JasJar)

What version of VS2005 (Beta1, Beta2, RC, RTM?) do you have?

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Tery wrote:

I'm going crazy trying to figure out the 'easiest' way to create
resolution
aware forms. nearly all the info I can find relates to VS2003.

Can anyone help point me in the right direction or perhaps samples on
how to
make a form look good regardless of resolution or orientation?

Thanks,
Terry
 
Back
Top