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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top