I'm using the following code to verify the status of computers. The problem
is that each time a command prompt is launched the focus is changed... Is
there a way to make the process invisible to the user?
**************
Set objShell = CreateObject("WScript.Shell")
Set objWshScriptExec = objShell.Exec("ping " & strComputer & " -n 1")
Set objStdOut = objWshScriptExec.StdOut
For j = 1 To 3
strLine = objStdOut.ReadLine
Next
strLine = objStdOut.ReadLine
**************
Thank you for the help,
Daniel