Alex 2009-08-21 00:06
Hi all,
just q quick question regarding to VBScript. I want to change the resolution by a VBScrip. I found the monitor object in the documentation and also the different methods to get the monitor properties but what about a setting method.
Does Ultramon have something like this and where can I find all this.
Thanks
Alex
|
Christian Studer 2009-08-21 08:25
Just set the monitor properties you want to change, then call the System object's ApplyMonitorChanges method:Set sys = CreateObject("UltraMon.System")
Set mon = sys.Monitors("1")
mon.Width = 1024
mon.Height = 768
sys.ApplyMonitorChanges
Christian Studer - www.realtimesoft.com
|
Alex 2009-08-26 21:48
Ok this is more than easy :-) I was thinking a lot more complex :-)
Thank you very much and Regards,
Alex
|