System.Management

  • Thread starter Thread starter news.orange.nl
  • Start date Start date
N

news.orange.nl

System.Management does not seem to import when I use Visual Web Developer
2005 Express Edition

I put
<%@ Import Namespace="System.Management" %>

in my code. asp page

If I put

Dim objMOS As System.Management.ManagementObjectSearcher

In my vb code, it says that the type is not defined.

Why is this and is there a workaround?
 
System.Management does not seem to import when I use Visual Web Developer
2005 Express Edition

It won't by default...
In my vb code, it says that the type is not defined.

It will do initially...
Why is this

Because the System.Management namespace is not part of the default project
template.
and is there a workaround?

Just add a reference to the System.Management namespace in Project Explorer.
 
Back
Top