VB and WMI

hi friendz,
                 i like to add a piece of WMI script into visual basic 2005. how can i add that piece of code and where can i add. if any tutorials for this kind of problem. then give the link. if anybody know how to add and execute that script then please tell step by step. be'cos i am new to vs2005.

thank U.

hope i will get answer as soon as possible.


Answer this question

VB and WMI

  • buggie79

    Hi there, the two fit very well together and so they should do.

    For a good example of the two working together take a look at

    http://www.freevbcode.com/ShowCode.asp ID=4571

    hope this is of some help

    Regards

    Russ

    P.s (the WMI reference on the MSDN site, has a list off all the WMI classes and object retun values )

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/wmisdk/wmi/wmi_reference.asp


  • venkateshraja

    hi wramos,

    i am also creating a application like ur's . i found a solution to get temperature and other disk and process utilization from wmi calls. I am also decided to do in asp.net. if u have any ideas and doubts then reply for this msg. otherwise send mail to itkamaraj@gmail.com

    thx
    kamaraj.

  • Riccardo Raccuglia

    I am looking for the same information. seems funny i cant paste code into vb and compile. I cant find any .net items either. What i am attempting to do is the following.

    1) a nice front end to query local users on a small lan. ie list the users per machine and their rights.

    2) Create a webpage that interfaces with mrtg, or give me stats on disk utilization, cpu, etc.

    3) make changes remotely on the machines on the net.



  • VB and WMI