General information
Category:
Windows API functions
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only