473,657 Members | 2,394 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Manageme nt but "Using
System.Manageme nt;" 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 3611
Jerry,

You will have to add a reference to System.Manageme nt.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************* *@exisconsultin g.com

"Jerry" <je**********@p artech.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.Manageme nt but "Using
System.Manageme nt;" 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
2220
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 accumulate a lot of files (documents, archives, pdfs, images, etc.) on a daily basis and storing them in a hierarchical file system is simple but unsatisfactory:
25
4984
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 probably get myself just by trying things out. But don't want to 'play' around too much. I ran the Security Wizard on my system at my office. Did all the usual things, admin -> users, users group have no rights. Assigned rights as required. The...
1
43943
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 of Access "sequentially", ie, A97, first. When I use the Office 97 installation cd, pick my choices, I end up, at the end of the installation, an error telling me the system.mdw could not be created. When I click OK on this, the installer...
0
1774
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 denied.=20 Description: An unhandled exception occurred during the execution of the =
3
1212
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. Normally I do a lot of work in Java and use different MVC frameworks like webwork, spring, hibernate, etc. Anyone point me in the directions of examples and great books that I need to know to do this right?
4
2060
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
14369
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 we get the error CPU goes 100% We have been through all we can think of, but have not been able to locate the source to the error. Any suggestions?
1
1960
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 trade capture will take daily values (about 10 or so inputs) from the user and send them to a sheet that holds all activity for that day. -Use pivot tables on separate sheets (broken out by product traded) to allow for easy viewing of the day's...
7
16314
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 on the other domain. Other functions work on the other domain like get all the users and get all the groups and I can validate users on the other domain so I think I am communciating with the other domain OK just not with the...
0
8420
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8842
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8617
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.