Re: Retrieve NATIVE screen resolution
- From: Allan Fog <AllanFog@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 14 Jul 2007 05:36:01 -0700
I agree with you concerning high-res monitors, but I think i may have left
som info out that might help solving this. The details is that i have made a
single sysprep'd WinXP image without HAL + some self written scripts and
compiled code so that i can deploy it on any hardware. On 1'st boot all
computers are scripted set to 1024x768@60Hz because i know all monitors can
handle this resolution. (not very elegant but it basically gives the user a
standard desktop in various quality)
I have 80 labs with approx 21-35 computers each (~2100 pc's)and all labs are
not equipped with identical hardware & monitors witch leads me to this issue
regarding the native or optimum resolution for any given monitor.... i have
been looking into the very first boot in a standard win xp install and there
is a detection of monitor that i haven't figured out, witch sets up windows
desktop resolution after 1'st boot in a matter that works with all known
monitors in the std win driver base. Then i thougth that i could inject my
own drivers (for all monitor types at our labs) but no.... i didnt get it
right... and it doesn't work
Then it have turned into detecting the std optimum resolution detected from
the monitor hardware itself, but obviously i haven't had any success yet...
help would be appreciated.......
--
Regards
Allan Fog, CTO
IBC International Business College
"mr_unreliable" wrote:
Allan, as far as I know, most displays will run at a number.
of screen resolutions. The screen resolution that is best
for you will depend on how much you want to show in the screen,
the apps you are running, and maybe even your eyesight.
I suspect that the notion of a "native" resolution is something
that may be found in the manufacturer's sales brochure, and is
generally the "highest" (most dots) resolution available for
that device. After all, why buy a high-resolution display
(at most likely a higher price) than a lower-resolution one,
if you don't need it...
Anyway, the short answer is that I don't think you are going
to find "native resolution" as one of the properties in wmi.
If you want to get _all_ the resolutions, you will have to
call the "GetDeviceCaps" system api. (Note that calling
api's from script is frowned upon by scripting professionals).
cheers, jw
____________________________________________________________
You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)
Allan Fog wrote:
My problem is that i want to retrieve the native hardware screen resolution
(eg on a HP LP2065 the optimum mode is 1600x1200 @ 60Hz) so that i can set
the resolution in windows to match this through a script on multiple
computers with different hardware.
I have tried WMI but i was only able to see the current resolution ( Maybe
i'm stupid or looking in the wrong fields)
Please note that I have no problem retrieving the current settings via
VBscripting nor setting it.
- Follow-Ups:
- Re: Retrieve NATIVE screen resolution
- From: mr_unreliable
- Re: Retrieve NATIVE screen resolution
- References:
- Re: Retrieve NATIVE screen resolution
- From: mr_unreliable
- Re: Retrieve NATIVE screen resolution
- Prev by Date: Re: File Copying with Win Shell Object
- Next by Date: Re: Retrieve NATIVE screen resolution
- Previous by thread: Re: Retrieve NATIVE screen resolution
- Next by thread: Re: Retrieve NATIVE screen resolution
- Index(es):
Relevant Pages
|