Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. System.Management.ManagementObject decleratoin error ?

System.Management.ManagementObject decleratoin error ?

Scheduled Pinned Locked Moved Visual Basic
helpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kindman_nb
    wrote on last edited by
    #1

    Hey why when i go to declare that ,, Dim s as System.Management.ManagementObject ,, ManagementObject namespace doesn't exist thanks ,,

    jooooo

    L 1 Reply Last reply
    0
    • K kindman_nb

      Hey why when i go to declare that ,, Dim s as System.Management.ManagementObject ,, ManagementObject namespace doesn't exist thanks ,,

      jooooo

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Hi, before you can use types from System.Management, you must add a reference to the "System.Management" dll. Right-click your project in the "Solution" pane, and choose "Add Reference...". :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      Voting for dummies? No thanks. X|


      K 1 Reply Last reply
      0
      • L Luc Pattyn

        Hi, before you can use types from System.Management, you must add a reference to the "System.Management" dll. Right-click your project in the "Solution" pane, and choose "Add Reference...". :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        Voting for dummies? No thanks. X|


        K Offline
        K Offline
        kindman_nb
        wrote on last edited by
        #3

        so thanks my friend now it's ok

        jooooo

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups