Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. 802dotjohn

    check if local service not exist then execute file

    I'm going to try to work this another way. Thanks anyway for the assistance EBGreen. John
  2. 802dotjohn

    check if local service not exist then execute file

    Ok, I just tried that and now I am getting another error. I went back and referenced where I found this code and it was pulled out of a larger script. There was lots more going on prior to this part and other variables set prior to this. I don't think i can use this. It was pulled from this...
  3. 802dotjohn

    check if local service not exist then execute file

    I get a line 9 char 58 Unterminated string constant error. Is this valid? Option explicit dim strServiceName strServiceName = "Service Name" Set colServiceList = objServices.ExecQuery("Select * From Win32_Service Where Name='" & _ strServiceName & "'") 'Error check If (Err.Number = 0) And...
  4. 802dotjohn

    check if local service not exist then execute file

    This is what I found on another board. It is reported to work. I have not been able to get it to work. Can i just tweak this one to launch an .exe if WMI_Service_Exists= False? Set colServiceList = objServices.ExecQuery("Select * From Win32_Service Where Name='" & _ strServiceName & "'")...
  5. 802dotjohn

    check if local service not exist then execute file

    I have looked for a couple of days now and I am still not able to borrow enough code and piece it together to work. I am a beginner when it comes to trying to write this stuff. I have looked through this site as well as others including the purchase of a few books to help. I still can't get it...

Part and Inventory Search

Back
Top