?
Solved

Accessing Win32_VideoController

Posted on 2003-11-14
3
Medium Priority
?
658 Views
Last Modified: 2007-12-19
I need to look at the Win32_VideoController (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_videocontroller.asp) in order to get information on the capabilities of the video card.  Specifically I want to find out if this device is Monochrome and what is the current VideoMode.

I've found a few references to working with WMI from Delphi, but nothing dealing with VideoController.

Please provide a code sample.
Thanks for your help :)
Rob
0
Comment
Question by:DarthChucks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 680 total points
ID: 9755945
http://users.andara.com/~dblondeau/FTP/SWBEM.zip

Above link is some simple sample code for Delphi. And like you I don't find much specific information about WMI settings in Delphi. However, for WMI itself just go to the MSDN site about WMI:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_architecture.asp

But I guess you know that link too.
Since WMI provides an enormous amount of information it is quite difficult to find specific examples. Especially since WMI still isn't a very popular technique. But perhaps have a look at:
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20740261.html

And if you haven't imported the WMI type library yet then import it or download it from http://workshop-alex.org/sources/WbemScripting_TLB.pas and download http://workshop-alex.org/sources/ShowProcesses.dpr too, which is an example about retrieving process information. It's not the same but still quite close to what you need.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month14 days, 12 hours left to enroll

771 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