Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API_AppRun
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00795825
Message ID:
00796503
Vues:
19
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
Fil
Voir

Click here to load this message in the networking platform