Click here to Skip to main content
11,643,493 members (73,853 online)

Hardware & Devices

 
AnswerRe: When to call WinUsb_FlushPipe Pin
Jochen Arndt10-Oct-12 3:24
memberJochen Arndt10-Oct-12 3:24 
GeneralRe: When to call WinUsb_FlushPipe Pin
__John_10-Oct-12 3:36
member__John_10-Oct-12 3:36 
QuestionUSB 2.0 Coexisting With USB 3.0 Despite USB 3.0 Being Backwards-compatible Pin
Kevin Li (Li, Ken-un)26-Sep-12 13:57
memberKevin Li (Li, Ken-un)26-Sep-12 13:57 
QuestionWindows Media does not play .wav files [Solved] Pin
PJ Arends14-Sep-12 15:56
memberPJ Arends14-Sep-12 15:56 
QuestionXP always runs check disk on start up - no errors found. Pin
Vaclav_Sal11-Sep-12 4:17
memberVaclav_Sal11-Sep-12 4:17 
AnswerRe: XP always runs check disk on start up - no errors found. Pin
Kenneth Haugland11-Sep-12 4:43
memberKenneth Haugland11-Sep-12 4:43 
GeneralRe: XP always runs check disk on start up - no errors found. Pin
Vaclav_Sal11-Sep-12 6:01
memberVaclav_Sal11-Sep-12 6:01 
AnswerRe: XP always runs check disk on start up - no errors found. Pin
Kenneth Haugland11-Sep-12 6:09
memberKenneth Haugland11-Sep-12 6:09 
GeneralRe: XP always runs check disk on start up - no errors found. Pin
Vaclav_Sal11-Sep-12 12:03
memberVaclav_Sal11-Sep-12 12:03 
GeneralRe: XP always runs check disk on start up - no errors found. Pin
jeeteshsrivastava14-Sep-12 23:53
memberjeeteshsrivastava14-Sep-12 23:53 
GeneralRe: XP always runs check disk on start up - no errors found. Pin
jeeteshsrivastava14-Sep-12 23:53
memberjeeteshsrivastava14-Sep-12 23:53 
RantAccess HID token in a Bootloader Pin
A_Fa3-Sep-12 21:23
memberA_Fa3-Sep-12 21:23 
GeneralRe: Access HID token in a Bootloader Pin
Dave Kreskowiak4-Sep-12 2:14
mvpDave Kreskowiak4-Sep-12 2:14 
QuestionHow to get the properties of more than one display monitor attached to my computer Pin
Nathaniel Lim29-Aug-12 10:10
memberNathaniel Lim29-Aug-12 10:10 
Hello everyone,

I posted this question in the C# forum, but felt that those on this forum might be able to help as well.

I have a project that requires me to gather inventory data for my computer. I am having problems trying to get the properties of the monitors attached to my computer.

I have one computer that can potentially use a max of 4 monitors, wherein I have a primary monitor and 3 other potential monitors which act as extension screens when I move my mouse to them ( depending on whether they are connected or not ).

I need to grab the following information from each monitor :

DeviceId,
Name,
Horizontal and Vertical resolution,
Whether or not the monitor is the primary one ( a true or false value will suffice ).

I tried using the WMI, Win32_DesktopMonitor class but it is only giving me ONE monitor's results ( the primary monitor ).

I then tried using the Win32_PnPEntity class.
This works, and gives me the number of monitors attached to my computer, but it only gives me Name and DeviceId ( no horizontal and vertical resolution information in this class ).

I then tried the Screen class (using the System.Windows.Forms.Screen), however the result is erratic. In one environment, it gives me the right number of monitors attached to my computer, in others, it does not.

Does anyone know of a Class provided by .NET 4 that will help me gather the information I need?

I am using .NET Framework 4 and building my application as a Console Application.

Any suggestions and advise will be highly appreciated.
AnswerRe: How to get the properties of more than one display monitor attached to my computer Pin
Dave Kreskowiak29-Aug-12 13:06
mvpDave Kreskowiak29-Aug-12 13:06 
QuestionA couple of questions about graphics cards Pin
Lloyd Atkinson27-Aug-12 8:04
memberLloyd Atkinson27-Aug-12 8:04 
AnswerRe: A couple of questions about graphics cards Pin
Michael Martin 27-Aug-12 16:07
member Michael Martin 27-Aug-12 16:07 
AnswerRe: A couple of questions about graphics cards Pin
A NasseR8-Nov-12 3:17
memberA NasseR8-Nov-12 3:17 
QuestionIntel I7 2670QM processor Pin
ForNow19-Aug-12 15:48
memberForNow19-Aug-12 15:48 
AnswerRe: Intel I7 2670QM processor Pin
Richard Andrew x6419-Aug-12 17:13
memberRichard Andrew x6419-Aug-12 17:13 
GeneralFile folder tables of Windows 7: Home Premium Pin
Brandon T. H.4-Aug-12 17:08
memberBrandon T. H.4-Aug-12 17:08 
GeneralRe: File folder tables of Windows 7: Home Premium Pin
Dave Kreskowiak4-Aug-12 17:27
mvpDave Kreskowiak4-Aug-12 17:27 
AnswerRe: File folder tables of Windows 7: Home Premium Pin
SoMad4-Aug-12 17:41
memberSoMad4-Aug-12 17:41 
QuestionInstalling a filter driver Pin
MarkBrock1-Aug-12 2:09
memberMarkBrock1-Aug-12 2:09 
GeneralOverwrite file and delete file/folder driver Pin
Brandon T. H.25-Jul-12 22:33
memberBrandon T. H.25-Jul-12 22:33 
GeneralRe: Overwrite file and delete file/folder driver Pin
Richard MacCutchan26-Jul-12 0:18
mvpRichard MacCutchan26-Jul-12 0:18 
GeneralRe: Overwrite file and delete file/folder driver Pin
Brandon T. H.26-Jul-12 14:08
memberBrandon T. H.26-Jul-12 14:08 
GeneralBroken Ethernet adapter help Pin
Brandon T. H.24-Jul-12 14:09
memberBrandon T. H.24-Jul-12 14:09 
GeneralRe: Broken Ethernet adapter help Pin
Richard Andrew x6424-Jul-12 15:02
memberRichard Andrew x6424-Jul-12 15:02 
GeneralRe: Broken Ethernet adapter help Pin
Brandon T. H.4-Aug-12 17:21
memberBrandon T. H.4-Aug-12 17:21 
GeneralRe: Broken Ethernet adapter help Pin
Dave Kreskowiak24-Jul-12 18:54
mvpDave Kreskowiak24-Jul-12 18:54 
GeneralRe: Broken Ethernet adapter help Pin
Brandon T. H.4-Aug-12 17:22
memberBrandon T. H.4-Aug-12 17:22 
GeneralRe: Broken Ethernet adapter help Pin
Dave Kreskowiak5-Aug-12 4:32
mvpDave Kreskowiak5-Aug-12 4:32 
GeneralRe: Broken Ethernet adapter help Pin
Roger Wright24-Jul-12 20:47
memberRoger Wright24-Jul-12 20:47 
GeneralRe: Broken Ethernet adapter help Pin
Brandon T. H.4-Aug-12 17:23
memberBrandon T. H.4-Aug-12 17:23 
GeneralRe: Broken Ethernet adapter help Pin
Chris Quinn16-Aug-12 5:29
memberChris Quinn16-Aug-12 5:29 
QuestionCan I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Vaclav_Sal19-Jul-12 16:22
memberVaclav_Sal19-Jul-12 16:22 
AnswerRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Dave Kreskowiak19-Jul-12 16:37
mvpDave Kreskowiak19-Jul-12 16:37 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Vaclav_Sal19-Jul-12 17:10
memberVaclav_Sal19-Jul-12 17:10 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Dave Kreskowiak19-Jul-12 18:01
mvpDave Kreskowiak19-Jul-12 18:01 
AnswerRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Richard MacCutchan19-Jul-12 22:35
mvpRichard MacCutchan19-Jul-12 22:35 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Vaclav_Sal20-Jul-12 3:59
memberVaclav_Sal20-Jul-12 3:59 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Richard MacCutchan20-Jul-12 5:10
mvpRichard MacCutchan20-Jul-12 5:10 
AnswerRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Brandon T. H.24-Jul-12 20:17
memberBrandon T. H.24-Jul-12 20:17 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Richard MacCutchan24-Jul-12 22:34
mvpRichard MacCutchan24-Jul-12 22:34 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Brandon T. H.25-Jul-12 4:36
memberBrandon T. H.25-Jul-12 4:36 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Vaclav_Sal25-Jul-12 3:07
memberVaclav_Sal25-Jul-12 3:07 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Richard MacCutchan25-Jul-12 4:44
mvpRichard MacCutchan25-Jul-12 4:44 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Brandon T. H.25-Jul-12 4:47
memberBrandon T. H.25-Jul-12 4:47 
Questionwhere to get wddebug_gui.exe Pin
__John_19-Jul-12 0:20
member__John_19-Jul-12 0:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 31 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid