RE: RUN an EXE

Author: Dave Crozier

Posted: 2011-12-05 at 11:12:51

Eurico,

Have you tried to run it using WSH:

#DEFINE EXEC_NOWAIT 0

#DEFINE EXEC_AND_WAIT 1

nWait_Mode= EXEC_AND_WAIT

cFile = <program name>

loShell = CreateObject ('WScript.Shell')

Try

loShell.Run (cFile, 1, nWait)

Endtry

Dave

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/BD031ECABF2B60499200AAB3DBB4A999921C17CB@EX-A-FPL.FPL.LOCAL

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Dave Crozier