Solved

How to establishing screen resolution using VBscript in Vista

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

948 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now