[SOLUCIONADO] ¿Como detectar la GPU?

Iniciado por Yuki, Septiembre 02, 2017, 01:38:41 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Septiembre 02, 2017, 01:38:41 PM Ultima modificación: Septiembre 06, 2017, 11:24:35 AM por blackdrake
Estoy desarrollando un código para Windows 32 bits y solo necesito saber si existe una GPU en el equipo, no necesito el nombre, versión o características, solo saber si existe.

¿Como puedo hacer esto?

Te dejo codigo en vbs

Código: vb
strComputer = "." 
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery( _
    "SELECT * FROM Win32_VideoController",,48)
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption
Next


Si te devuelve un string vacio logicamente no tiene gpu
Mi blog: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Si necesitas ayuda, no dudes en mandar MP