Solved

How to establishing screen resolution using VBscript in Vista

Posted on 2007-11-18
2
1,824 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding a countdown to HTA 12 95
Review of the nodejs code 1 35
Convert this script to work with Windows 10 ftp 36 68
Help with Progress 4gl Rounding Function 6 22
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to dynamically set the form action using jQuery.

735 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