473,396 Members | 1,933 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,396 software developers and data experts.

VB.NET - missing namespace

I am working through a textbook on VB.NET and one of the
examples references the namespace: System.Management.
This (.Management at least) does not appear to be
available on my computer. Do I need to reference it? I
have VB.NET standard version 1.0.
Nov 20 '05 #1
3 1843
"Jennifer" <je******@icqmail.com> schrieb
I am working through a textbook on VB.NET and one of the
examples references the namespace: System.Management.
This (.Management at least) does not appear to be
available on my computer. Do I need to reference it? I
have VB.NET standard version 1.0.


You have to reference an assembly containing the namespace
System.Management. The assembly to be referenced depends on the class you
want to use. Have a look at the bottom of the documentation of the class at
the line "Assembly: ..."
--
Armin

Nov 20 '05 #2
Cor
Hi Jennifer,
I am working through a textbook on VB.NET and one of the
examples references the namespace: System.Management.
This (.Management at least) does not appear to be
available on my computer. Do I need to reference it? I
have VB.NET standard version 1.0.


Normaly the answer is Yes. But I become always confused if it is about the
standard version.

Maybe you can try it yourself?

You can reference on more ways,
You can add it with the right button in the solution explorer on reference
or on the main toolbar with Project -> Add reference and then
"system.management" select, ok.

I hope this works?

Cor

Nov 20 '05 #3
* "Jennifer" <je******@icqmail.com> scripsit:
I am working through a textbook on VB.NET and one of the
examples references the namespace: System.Management.
This (.Management at least) does not appear to be
available on my computer. Do I need to reference it? I
have VB.NET standard version 1.0.


You will have to set a reference to "System.Management.dll".

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

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

Similar topics

2
by: kalpana.sinduria | last post by:
Hi all, how to remove the following complle error. When I compiling the code I get the following errors: Compiling... CDrtEachDefFeat.cpp d:\ include\common\cdrtintegfeat.h(39) : error...
6
by: David B. Bitton | last post by:
I am having a problem deserializing XML when the root node is missing a namespace declaration. My Type has an XmlTypeAttribute with a namespace defined. If I attempt to deserialize the XML, I get...
0
by: Alberto Grosso Nicolin | last post by:
We have the following XML schema: there's a root element (Response) with of a single child element (Result). ...
3
by: muesliflakes | last post by:
The type or namespace name 'ControlDesigner' does not exist in the class or namespace 'System.Window.Forms.Design' I'm attempting to use the CSharp example HelpLabelDesigner which extends...
0
by: M D | last post by:
Can someone explain this debugger message to me? VS 2002 using c#: __________________________________________________________ C:\Documents and Settings\mardukes\My Documents\Visual Studio...
2
by: DN | last post by:
Is it possible to use Missing.Value in C#, or is that just a VB concept? I'm using Persits ASPEmail component in an ASP.NET page, and their sample code shows something like this: <%@ Page...
14
by: tshad | last post by:
I am trying to set up a reusable library (business component) that I can use in a bunch of my pages. I built the file and it almost compiles, but I am not sure what I am missing. The vbc...
2
by: VanOrton | last post by:
Hi all, When XercesDOMParser parses an XML document with a Schema instance, by default it adds all missing default and fixed attributes. I have the impression though that it misses the...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project by serveraddresss?wsdl, it gives me following error: Custom tool...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.