Results 1 to 6 of 6

Thread: [RESOLVED] where is "System.Management" in .net 2.0

  1. #1

    Thread Starter
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168

    Resolved [RESOLVED] where is "System.Management" in .net 2.0

    Hi,

    In my VB.net 2003 I am using System.Management class to get drive info like DriveVolumeSerialNo. But I not found "System.Management" class in .net 2.0.

    I am using VB.net Express 2005

    Thanks

    parminder Singh

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: where is "System.Management" in .net 2.0

    add a reference to System.Management by selecting "Add Reference" from the Project menu. In the .NET tab, scroll down to System.Management, and add that reference. You will then be able to use the classes in the namespace

  3. #3
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: where is "System.Management" in .net 2.0

    Do you have System.Management.dll in your project references?

  4. #4

    Thread Starter
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168

    Re: where is "System.Management" in .net 2.0

    Thanks both of you.

    After adding refference it can be "Imports"

    I am using VB.net Express 2005. When I open the Help of it, there is no listing for this namespace. Is "help" is less with express edition of VB.Net ?
    Is there more posibility for less documentation for some other topic >

    Thanks

    Parminder

  5. #5
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: where is "System.Management" in .net 2.0

    that I am not sure of.. you can always use the MSDN, which has full help documentation as well...

    I can tell you that in the full version of visual studio 2005, the help info on that namespace is present.. I don't have express though... so I couldn't tell you if its limited in there.

  6. #6

    Thread Starter
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168

    Re: where is "System.Management" in .net 2.0

    Thank you kleinma for your prompt help.

    Parminder

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width