Re: Retrieve NATIVE screen resolution

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.

.



Relevant Pages

  • Re: [kde] different resolutions in virtual desktop
    ... my "problem" is that I have two monitors in clone mode. ... The problem is that I have a resolution of 1440x900 60hz in my monitor lcd ... other virtual desktop 1024x780 but now I know that is impossible. ... Do you help me to can change the resolution from a bash script? ...
    (KDE)
  • Re: 1920x1080 how some programs (non-menu area) fonts are displayed
    ... First, yes we understand about font size, clear type, and dpi adjustments. ... As monitor resolution goes up, users MUST increase the DPI setting to make ... use of the higher resolution; otherwise, they are throwing away the money to ... buy higher resolution monitors. ...
    (microsoft.public.windowsxp.general)
  • Re: Retrieve NATIVE screen resolution
    ... Otherwise, if all else fails, google "Optimal Monitor Resolution". ... CRT type monitors don't have a native resolution. ... 'native' resolution is used by the display adapter. ... Other systems allow you to specify a range ...
    (microsoft.public.scripting.wsh)
  • [kde] Re: How do I remove the "new activity" item from the desktop?
    ... remember to switch on here. ... But while neither the 1080p monitors nor X ... half the normal resolution with 96 dpi, ... the kgamma adjustment sequence for both the LCDs and the LEDs... ...
    (KDE)
  • Re: Monitor dimensions
    ... Or the image in its native size with black borders ... monitors rescale. ... resolution and adjust Windows desktop settings to make ... nice looking, pretty good performing car. ...
    (rec.photo.digital.slr-systems)