Hi,
You can use the win32_desktopmonitor class to get the monitor type.
I do not see any way to get the serial number. Add a reference to
system.management.dll.
http://msdn.microsoft.com/library/de...topmonitor.asp
Dim moReturn As Management.ManagementObjectCollection
Dim moSearch As Management.ManagementObjectSearcher
Dim mo As Management.ManagementObject
moSearch = New Management.ManagementObjectSearcher("Select * from
Win32_DesktopMonitor")
moReturn = moSearch.Get
For Each mo In moReturn
Debug.WriteLine(mo("Name"))
Debug.Indent()
Debug.WriteLine(mo("MonitorManufacturer"))
Debug.WriteLine(mo("MonitorType"))
Debug.Unindent()
Next
Ken
-------------------
"Yavuz Bogazci" <ne************@bogazci.com> wrote in message
news:05****************************@phx.gbl...
Hi,
how can i get the serial number and the model number of a
monitor via WMI?
thanks
yavuz bogazci