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

C++ Wmi App to C# Wmi App - System.Mgmt Access

I have an existing C++ Wmi App developed with v6.0 that I
am now converting to C#.

To do so I need FCL Namespace System.Management but "Using
System.Management;" bombs out with a build error
saying "Management does not exist in namespace System".

I have all the latest SDKs, am using VS .Net Pro, and my
C++ Wmi App (built with v6.0) works just fine.

Anyone know what I am missing? Many thanks.
Nov 13 '05 #1
1 3599
Jerry,

You will have to add a reference to System.Management.dll in your
project. The using statement is nothing more than declaring a shorthand for
the namespace, not a declaration of a reference to another assembly.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Jerry" <je**********@partech.com> wrote in message
news:0e****************************@phx.gbl...
I have an existing C++ Wmi App developed with v6.0 that I
am now converting to C#.

To do so I need FCL Namespace System.Management but "Using
System.Management;" bombs out with a build error
saying "Management does not exist in namespace System".

I have all the latest SDKs, am using VS .Net Pro, and my
C++ Wmi App (built with v6.0) works just fine.

Anyone know what I am missing? Many thanks.

Nov 13 '05 #2

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

Similar topics

8
by: Sandy Norton | last post by:
Hi folks, I have been mulling over an idea for a very simple python-based personal document management system. The source of this possible solution is the following typical problem: I...
25
by: Mike MacSween | last post by:
Yes, I've downloaded and read the FAQ. And searched the archives. I'm just treading a little carefully here because of the caveats about locking myself out of the db forever. Some answers I could...
1
by: Tim Marshall | last post by:
I've just received a new computer with Win XP Version 5.1.2600. I want to have Access 2003 and Access 97 running on this, so I did some googling on cdma and it seems I must install these versions...
0
by: masago | last post by:
Hi....how are you ?? they can help me to solve this problem ?? Access to the path = "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET = Files\reports\06639073\bbab30a7" is...
3
by: Wizumwalt | last post by:
Hey all, very new to PHP and want to try it out on a project (on which I have lots of time to learn) that authenticates logins, manages users and groups, and which pages they get access to. ...
4
by: HandersonVA | last post by:
compare to ms sql 2000, the newer version seems to be slow when i try to open or modify a table. is this a demerit of the newer vesion or my machine problem?
2
by: job | last post by:
In a sharepoint setup using smartpart to load our user controls using enterprise blocks (data) we are getting some strange errors (logged to the event log). We dont get the error all the time. When...
1
by: natalya06 | last post by:
I'm creating a trade capture system that dynamically manages risk for a trading desk. I'm looking for advice on how to do this efficiently. Any suggestions? This is what I'm thinking.. -The...
7
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I am using this code to get groups for a user and getting a error (5) on the GetAuthorizationGroups() function . There are two domains. This function works on the local domain but does not work...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.