Solved

How to establishing screen resolution using VBscript in Vista

Posted on 2007-11-18
2
1,814 Views
Last Modified: 2013-11-25
Hello,
I use two dispay units on my Vista machine. From time to time I need to change resolutions and frequencies of both screens to different ones. Can anyone advise a script for that?  

0
Comment
Question by:tlt28gvg121
2 Comments
 
LVL 20

Accepted Solution

by:
ltlbearand3 earned 250 total points
ID: 20310211
VB script can only read the resolution and cannot set it.   See this link at microsoft:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jul05/hey0721.mspx

One idea is a COM built in vb.  See this EE post for details:
http://www.experts-exchange.com/Programming/Misc/Q_21299769.html

Some more notes on vb script and screen resolution:
http://www.experts-exchange.com/Programming/Q_21564956.html

Here is a google post with some notes on command line utilities that can do the job
http://groups.google.co.uk/group/microsoft.public.windows.server.scripting/msg/423d3f435989d049

0
 
LVL 1

Author Comment

by:tlt28gvg121
ID: 20311209
Thanks for the links. However they deal with a single display only. Will have to try to figure out how to make changes on two dispays. On the other hand, if my graphics cards are both Nvidia and I can save different resolution configurations under different profile names, is it possible to retrieve those profiles via VB script? For loading of profiles Nvidia does not provide a stand-alone utility that might be called in a script.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question