Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How would i suppress exception pop-ups when my VBScript runs executables?

22 views
Skip to first unread message

Schwartzberg

unread,
Mar 17, 2007, 6:14:56 AM3/17/07
to
I am trying, with a VBScript, to run several programs in unmanaged
code. For example:
Set objExecObject1 = objShell.Exec("<otherProgram1>")
Set objExecObject2 = objShell.Exec("<otherProgram2>")
Set objExecObject3 = objShell.Exec("<otherProgram3>")

And otherProgram2 has a memory exception & a Windows pop-up asks for
user
interaction: - asking to click yes or cancel to debug the exception.


Is it possibly to suppress this behavior?


CScript //B <myScript> suppresses possible WScript.Echo in the
script,
but not the above.


objShell.Run("myProgram3"),,true also doesn't do the trick.


I am interested in the script running to its end, without user
interaction (not even for exceptions).


Any idea's & (possibly) links to to document it?


Rgrds, Paul Schwartzberg

0 new messages