Missing - Imports System.Management

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

I'm trying to work with the WMI class in the System.Management
namespace with Visual Basic.Net. I copied and pasted some example code
from Microsoft that contains the following namespace imports:

Imports System
Imports System.Management
Imports ROOT.CIMV2.Win32

Visual Studio does not recognize the System.Management namespace nor
the ROOT.CIMV2.Win32 namespace. They are not listed in Intellisense
listings either.

I'm using the Microsoft Visual Studio .NET 2003 Professional version.

I know I'm probably missing something fundamental but I can't seem to
find it. Any help is *greatly* appreciated.
 
Jason said:
I'm trying to work with the WMI class in the System.Management
namespace with Visual Basic.Net. I copied and pasted some example code
from Microsoft that contains the following namespace imports:

Imports System
Imports System.Management

Are you sure your project contains a reference to "System.Management.dll"?
 
Back
Top