Can't find system.management

  • Thread starter Thread starter barbara_dave
  • Start date Start date
B

barbara_dave

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 problem.

Thanks
 
Hello,

Did you add a reference to the System.Management.dll assembly?

-Siva

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 problem.

Thanks
 
Have you added a reference to the System.Management DLL?

If not, right-click 'references' in the solution explorer & choose ADD
REFERENCE

Scroll down to the 'System.Management.dll' & click ADD & then OK

If you haven't the import at the top then add 'Imports System.Management'

I hope this helps,

Crouchie1998
BA (HONS) MCP MCSE
 
Barbara,

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.

"Project" -> "Add reference..." -> ".NET" -> "System.Management.dll".
 
A little late with your response today, Herfried. I beat you to it :)

Crouchie1998
BA (HONS) MCP MCSE
 
Crouchie1998 said:
A little late with your response today, Herfried. I beat you to it :)

It seems that I connected to a news server that was out of sync ;-).
 
Back
Top