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 strongm 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. peterwestling

    SendKeys with Outlook

    Also try http://www.express-soft.com/mailmate/clickyes.html ClickYes that does the job pretty ok with a tray icon and so on...
  2. peterwestling

    Recommend a better way to detect state of app?

    I have that script too... but only with WMI, If youre interested, post a reply. /Peter
  3. peterwestling

    Recommend a better way to detect state of app?

    Ah, thats true. Sorry for that..;) I live in the w2k and XP world. I dont have a solution for win98 systems though... upgrade...? ;)
  4. peterwestling

    How can i read a DOS Window results

    Try this, where command is the DOS thing you want... Set objExecObject = objShell.Exec("cmd /c command") do until objExecObject.StdOut.AtEndOfStream strNextLine = split(AobjExecObject.StdOut.ReadAll, vbCrLf) //Peter
  5. peterwestling

    Recommend a better way to detect state of app?

    Hmm maybe use WMI? Loop the whole thing with a 10 sec delay and put in a reboot section if the app is not running. //Peter strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer &...
  6. peterwestling

    Check if a user exists in AD.

    This one looks if the SAMAccountname "PeterW" is in use in the "Users" OU in the domain "domain". If it doesnt find it it will tell you that and if it finds it then you'll see the dn path and so on. //Peter Set objConnection =...
  7. peterwestling

    Changing Computer name

    Change hostname should be rather easy, but computername could be harder, since the domain has the name there too... have a look at the ADMT tool there you can rename computer accounts batch wise
  8. peterwestling

    Reading from an SQL database

    could you post the script so I can have a look on it?
  9. peterwestling

    kill process?

    This one kills the explorer.exe process: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colProcessList = objWMIService.ExecQuery _ ("SELECT * FROM...

Part and Inventory Search

Back
Top