By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,966 Members | 1,848 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,966 IT Pros & Developers. It's quick & easy.

Changing Screen Resolution

P: n/a
I've read previous posts and know it is "bad form" to change a user's
screen resolution to fit your program's needs. My situation is very
different.

I have a user with a laptop resolution of 1680x1050. When they dock
the laptop, the external monitor connects and uses 1900x1200
resolution.

They need a program to do the following:
1 - Detect the current screen resolution.
2 - If it is 1680x1050 then change it to 1900x1200.
3 - If it is 1900x1200 then change it to 1680x1050.

What is the best way to do this?

Thank you,
Joe

Nov 13 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
jl*******@dlbassociates.com wrote:
I've read previous posts and know it is "bad form" to change a user's
screen resolution to fit your program's needs. My situation is very
different.

I have a user with a laptop resolution of 1680x1050. When they dock
the laptop, the external monitor connects and uses 1900x1200
resolution.

They need a program to do the following:
1 - Detect the current screen resolution.
2 - If it is 1680x1050 then change it to 1900x1200.
3 - If it is 1900x1200 then change it to 1680x1050.

What is the best way to do this?

Thank you,
Joe


Why? You do realize that LCD monitors don't support just any resolution
setting right? Are you sure that you won't just kill the display
altogether?

Do they have problems with any other software when they put the laptop into
the docking station? I assume that Word, Excel etc., have no issues so why
does your application have problems?

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2

P: n/a
Rick Brandt wrote:
jl*******@dlbassociates.com wrote:
I've read previous posts and know it is "bad form" to change a user's
screen resolution to fit your program's needs. My situation is very
different.

I have a user with a laptop resolution of 1680x1050. When they dock
the laptop, the external monitor connects and uses 1900x1200
resolution.

They need a program to do the following:
1 - Detect the current screen resolution.
2 - If it is 1680x1050 then change it to 1900x1200.
3 - If it is 1900x1200 then change it to 1680x1050.

What is the best way to do this?

Thank you,
Joe

Why? You do realize that LCD monitors don't support just any resolution
setting right? Are you sure that you won't just kill the display
altogether?

Do they have problems with any other software when they put the laptop into
the docking station? I assume that Word, Excel etc., have no issues so why
does your application have problems?

I agree. I had a situation once where I developed the form on 800x600.
The client said everyone used 1024x768 so I didn't care so much about
real estate space after that. Then the client said there were a couple
still using 800x600. So I used the code found at
http://www.mvps.org/access/api/api0012.htm to detect the size. If
800x600 I maximized the form otherwise I restored it when the form was
activated.
Nov 13 '05 #3

P: n/a
Perhaps I didn't explain myself well enough. The screen resolution is
not causing a problem with any specific software or form. I'm trying
to resolve a display issue by running through a short program.

I'm looking for assistance writing the program, using Access, that will
check the screen resolution and change it to another resolution based
on it's current setting.

This will save the user the hassle of opening the Display Properties,
choosing the Settings tab and manually changing the resolution himself
every time he docks and undocks the laptop.

Thanks,
Joe

Nov 13 '05 #4

P: n/a
jl*******@dlbassociates.com wrote:
Perhaps I didn't explain myself well enough. The screen resolution is
not causing a problem with any specific software or form. I'm trying
to resolve a display issue by running through a short program.

I'm looking for assistance writing the program, using Access, that will
check the screen resolution and change it to another resolution based
on it's current setting.

This will save the user the hassle of opening the Display Properties,
choosing the Settings tab and manually changing the resolution himself
every time he docks and undocks the laptop.


The thing is, when they dock, the reported resolution is what they had
on the laptop screen until they change it manually. There are some
utilities that come with video drivers that usually sit in the system
tray and allow a change of resolution quickly. I know laptop drivers
usually lack these but you may find one on http://www.omegadrivers.net/
that will work.

--
[OO=00=OO]
Nov 13 '05 #5

P: n/a
A quick google.groups search would have found this:

http://groups-beta.google.com/group/...ab94340d427fd3

Nov 13 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.