How i can know if a especific program are in execution?
if GetModuleHandle( "UNI.EXE" ) != 0
MsgInfo( "UNI.EXE is running" )
endif
Always return 0
Thanks in advance.
How i can know if a especific program are in execution?
if GetModuleHandle( "UNI.EXE" ) != 0
MsgInfo( "UNI.EXE is running" )
endif
Always return 0
Thanks in advance.
Try
IF ISEXERUNNING( CFILENAME( HB_ARGV( 0 ) ) )
//.... exe is running // RETURN NIL
ENDIF
Hth
Richard Chidiak wrote:Try
IF ISEXERUNNING( CFILENAME( HB_ARGV( 0 ) ) )
//.... exe is running // RETURN NIL
ENDIF
Hth
Try replacing HB_ARGV( 0 ) with the name of the EXE to test for execution.
EMG
Enrico Maria Giordano wrote:Try replacing HB_ARGV( 0 ) with the name of the EXE to test for execution.
EMG