Information générale
Catégorie:
Fonctions Windows API
Sergey,
After I tried the code some different ways, I found that it failed unless I put in the path prior to the EXE name.
****************************************************************
cpathname = ALLTRIM(m.ispdir)
inparams = ALLTRIM(m.initargetdir)
* Minimize the Calling App window
HIDE WINDOW SCREEN
SET CLASSLIB TO PROCESS.VCX ADDITIVE
lcCommandline = cpathname+'ispaccts.exe '+inparams
oProcess = CREATEOBJ('API_AppRun',lcCommandline,cpathname,'NOR')
oProcess.LaunchAppAndWait()
****************************************************************
With the path, it succeeded! It was visible when I use HIDE WINDOW SCREEN. However, it was not activated. Any ideas on how it can be activated also?
Almost there now. - Steve
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement