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.
Richard Chidiak wrote:Try
IF ISEXERUNNING( CFILENAME( HB_ARGV( 0 ) ) )
//.... exe is running // RETURN NIL
ENDIF
Hth
Enrico Maria Giordano wrote:Try replacing HB_ARGV( 0 ) with the name of the EXE to test for execution.
EMG
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 104 guests