INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

find monitor instance name , device name , resolution and frequency of multiple monitors

find monitor instance name , device name , resolution and frequency of multiple monitors

find monitor instance name , device name , resolution and frequency of multiple monitors

(OP)
hi,


In my system multiple monitors are connected (VGA and HDMI). In need to know the monitor instance name , device name , resolution and frequency of each monitor.. any solution?


i used wm class 'WmiMonitorConnectionParams' to determine Video output technology connection type and InstanceName.

But i didn't get the device name , resolution and frequency of each monitor.??


There are other wmi class like :

WmiMonitorBrightnessEvent
WmiMonitorConnectionParams
WmiMonitorRawEEdidV1Block
WmiMonitorListedFrequencyRanges
WmiMonitorDigitalVideoInputParams
WmiMonitorAnalogVideoInputParams
WmiMonitorID
WmiMonitorBrightnessMethods
WmiMonitorBasicDisplayParams
WmiMonitorColorCharacteristics
WmiMonitorDescriptorMethods
WmiMonitorListedSupportedSourceM…
WmiMonitorBrightness
WmiMonitorColorXYZinCIE
WmiMonitorSupportedDisplayFeatures

WmiMonitorBasicDisplayParams
Win32_VideoController
Win32_VideoConfiguration
Win32_VideoSettings
Win32_DisplayControllerConfiguration
Win32_DisplayConfiguration



But unable to determine monitor having its corresponding values? please help me to find a solution .



thank you

RE: find monitor instance name , device name , resolution and frequency of multiple monitors

Getting the resolution is a tricky one.The way I did it in VBScript for an inventory script that gather much of what you are looking for is I had to use Internet Explorer to get the max size.

Here is how I did it.

CODE --> VBscript

Set IE = CreateObject("internetexplorer.application")
IE.Visible = False
With Createobject("internetexplorer.application")
.navigate "about:blank"
With .document.parentWindow.screen
iHeight = .height
iWidth = .width
End With
End With
IE.Quit
Resolution = iWidth & "x" & iHeight
report = "Video Resolution: " & Resolution 

I hope that helps.

Regards,

Mark

No trees were harmed in posting this message, however a significant number of electrons were terribly inconvenienced.

Check out my scripting solutions at http://www.thespidersparlor.com/vbscript

Work SMARTER not HARDER.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close