I want to get the list of supported resolution by a graphic adapter/card. Anyway to do it?
640X480
1024X768
1366x768
and so on...........
I need it urgently. Any help would be great!
Printable View
I want to get the list of supported resolution by a graphic adapter/card. Anyway to do it?
640X480
1024X768
1366x768
and so on...........
I need it urgently. Any help would be great!
Have you tried WMI?
I found no documentation on wmi where i could get all the resolutions. I found one with devmode, but didn't understand. Could someone help?
How about Powershell? http://powershell.com/cs/media/p/858.aspx
You need the EnumDisplaySettings API, Have a look at these :
http://www.xtremedotnettalk.com/showthread.php?t=80165
http://www.dotnetspark.com/kb/1948-c...matically.aspx
http://www.dreamincode.net/forums/to...en-resolution/
http://www.codeguru.com/vb/gen/vb_mi...le.php/c14319/
thanc hannesthegreat! that worked well!
Great stuff! :thumb:
Please mark your thread resolved