RE: RUN an EXE

Author: Tracy Pearson

Posted: 2011-12-05 at 11:20:01

Dave Crozier wrote on 2011-12-05:

> 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

>

Dave,

As long as the anti-virus isn't set in an aggressive posture, this works.

Tracy Pearson

PowerChurch Software

_______________________________________________

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/001901ccb369$bd8d16e0$38a744a0$@powerchurch.com

** 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 Tracy Pearson