Jump to content

visual basic 2005 program that can interrogate a pc / laptop

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
tiger2010

tiger2010

    Newbie

  • Members
  • Pip
  • 5 posts
I am trying to write a visual basic 2005 program that can interrogate a pc / laptop and read all its hardware information such as Video Card, Sound, amount of ram etc, what code do I need to do this. On form_load / start app, it looks at the computer / pc and records its hardware in a series of text boxes. If some one can help me write the program or just tell me how to do one piece of hardware, I can use this as a bench mark in writing the other parts of the program to record all the other parts of the computer. I have looked at various forums and so confused that nothing I have read makes sense. Or is there a pre written program out there I can use and customise to my own way, such as open source if this exists for vb applications.

#2
PsychoCoder

PsychoCoder

    Learning Programmer

  • Members
  • PipPipPip
  • 92 posts
You get can most system information with Windows Management Instrumentation (WMI). MSDN has a nice WMI Reference. This should give you a good start on using WMI with VB.NET
SELECT * FROM Users WHERE Clue > 0;
ERROR: 0 results returned
Posted Image