Solved

How to establishing screen resolution using VBscript in Vista

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

743 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

11 Experts available now in Live!

Get 1:1 Help Now