Create VB6 Class Wrappers For MS WMI Classes

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
This application creates the VB6 class, and if needed, a collection class for all WMI classes, by running queries on the WMI provider and reading the output's properties. It's only problem is that it cannot generate VB6 class code for those WMI Classes that do not returm any element. Full Source is included.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download generate wmi classes.zip