473,405 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Imports System.Management cannot be found......?!!What!!?

Windows XP Pro is upto date....just checked
I have:
Visual Studio.NET 2003
.NET Framework 1.1
.NET Framework (Hotfix) whatever that means...lol.
Office 2003 which I just checked....upto date.

I am writing a small VB.NET that should be using some functionality in the
System.Management namespace (per MSDN), but Visual Studio can't find the
namespace.

I try:
Imports System.Management

It says on Build:
Namespace or type 'Management' for the Imports 'System.Management' cannot
be found.
Nov 21 '05 #1
3 14174
Have you added a reference to System.Management to your project?
--
Dennis in Houston
".NETMystified" wrote:
Windows XP Pro is upto date....just checked
I have:
Visual Studio.NET 2003
.NET Framework 1.1
.NET Framework (Hotfix) whatever that means...lol.
Office 2003 which I just checked....upto date.

I am writing a small VB.NET that should be using some functionality in the
System.Management namespace (per MSDN), but Visual Studio can't find the
namespace.

I try:
Imports System.Management

It says on Build:
Namespace or type 'Management' for the Imports 'System.Management' cannot
be found.

Nov 21 '05 #2
Sweet. Sorry for all the newbie questions.....But...
How do you add Null to the project? I got it for free in VBS?

THanks for your help!

"Dennis" wrote:
Have you added a reference to System.Management to your project?
--
Dennis in Houston
".NETMystified" wrote:
Windows XP Pro is upto date....just checked
I have:
Visual Studio.NET 2003
.NET Framework 1.1
.NET Framework (Hotfix) whatever that means...lol.
Office 2003 which I just checked....upto date.

I am writing a small VB.NET that should be using some functionality in the
System.Management namespace (per MSDN), but Visual Studio can't find the
namespace.

I try:
Imports System.Management

It says on Build:
Namespace or type 'Management' for the Imports 'System.Management' cannot
be found.

Nov 21 '05 #3
".NETMystified" <.NE**********@discussions.microsoft.com> schrieb:
I am writing a small VB.NET that should be using some functionality in the
System.Management namespace (per MSDN), but Visual Studio can't find the
namespace.

I try:
Imports System.Management

It says on Build:
Namespace or type 'Management' for the Imports 'System.Management'
cannot
be found.


"Project" -> "Add reference..." -> "System.Management.dll".

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Darshan Mehta | last post by:
I need to use the "System.Management" class to make a program using the WMI, in VB.NET. I tried "Imports System.Management", but I get a syntax error that says: Cannot find class. I need to use...
1
by: Edward | last post by:
Hello, I'm getting the following error message: "Compiler Error Message: BC30466: Namespace or type 'DirectoryServices' for the Imports 'System.DirectoryServices' cannot be found." I've...
2
by: Kelvin | last post by:
Hello I am using web matrix develop a login page through Active Directory but I cannot figure out why it is giving me an error when importing system.directoryServices. Any help will do! thank ...
4
by: Dominic Marks | last post by:
Hello All, Hope this is the correct group, here goes: I'm looking into writing a small application to interface with WMI, and downloaded the Express Edition Beta of Visual Basic 2005 to see...
6
by: barbara_dave | last post by:
Hi all, I am trying use eventArrived event to do plug-play, but I get error on the code "Imports System.management". It seems I don't have management namespace in my systems. How to solve this...
1
by: theintrepidfox | last post by:
Dear Group I wonder whether anyone has some information on the cause for this error? I've created a class for Win32_BIOS with mgmtclassgen Win32_BIOS /L VB, added the file to my VB.NET project...
2
by: Jason | last post by:
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: ...
1
by: Graham35p | last post by:
I was sent a section of program a while few months to allow me to access the CPU temperature. Unfortunately I have only just been able to try the code. One of the first lines is...
2
by: JuliusTan | last post by:
Hello, I have very little experience in SQL. I have not had problems so far with my databases but when trying to use a service that accesses the server remotely, I get this error: "The database...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.