|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Missing - Imports System.ManagementI'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. Found the fix.
From the menu bar Project --> Project --> Add Class Show quoteHide quote "Jason" <ja***@someone.com> wrote in message news:%237IUCI%23MGHA.916@TK2MSFTNGP10.phx.gbl... > 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" <ja***@someone.com> schrieb: Are you sure your project contains a reference to "System.Management.dll"?> 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 -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Dynamic Controls - referencing
running application using vb.net Treeview drives me crazy! Data Types and structure Memory Usage? Windows XP Style How to load hierarchical Db data in treeview?? Deleting configurations Screen resolution w/ 2 monitors Form Shake Can I ignore xxxChanged events while data binding? |
|||||||||||||||||||||||