Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to establishing screen resolution using VBscript in Vista

Posted on 2007-11-18
2
Medium Priority
?
1,836 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 20

Accepted Solution

by:
ltlbearand3 earned 750 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
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…

722 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