Query the Processor Info From Windows

Category:
System/API
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic Script

More information:
With this script, using the WScript host, you can query information about a user's PC. As I always make a point of mentioning, you can wrap this code in a function and work from user input by iterating the wscript.arguments collection. For more information about a computer, query the win32_ComputerSystem.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: