Menu

WMI VBS Scripting - Anyone got any skills to help with at little project?

Anobium
2017-11-19
2017-11-20
  • Anobium

    Anobium - 2017-11-19

    Anyone got any skills using Windows WMI VBS Scripting ? I would like some help develop a script that monitors the compiler.

    I can share a full description if someone is willing to help.

    So, if you know what the following line are... you are likely to be the person! Let me know!!

    Set objShell = CreateObject("WScript.Shell") Set objWmi = GetObject("winmgmts:") Set objQResult = objWmi.Execquery("Select * from Win32_Process where name like '" & AppExec & "'")

     
  • CDRIVE

    CDRIVE - 2017-11-19

    Evan, after reading your request I spent half of my day digging through many years of my VB6 projects looking for anything related to WinMgmts. It's been a while since I've used it. It's a Windows service that is sometimes better accomplished and much faster using API calls.

    That said post the description so I can give it a go in either form. I don't consider myself an expert VB programmer but I'm skilled at searching for the information I need. I'm also not too proud to ask for assistance from my friends on VBForums. ;-)

    Cheers,
    Chris S.

     

    Last edit: CDRIVE 2017-11-19
  • Anobium

    Anobium - 2017-11-19

    I willl write up what I am thinking. It is not hard.....😊

     
  • CDRIVE

    CDRIVE - 2017-11-19

    Roger that.

     
  • CDRIVE

    CDRIVE - 2017-11-20

    Evan, I replied to your email but it got kicked back. I used my email client to reply. What am I doing wrong? I don't want to post your email address which is usually the cause of a delivery failure.

    Chris S.

    Oops! Brain Fart! I just read the notation at the bottom of your email message. Now that I know I'll re-send.

     

    Last edit: CDRIVE 2017-11-20

Log in to post a comment.