Hi Tracy,
Hope you don't mind the on-going questions.....
I have now incorporated most of the code but cannot get it to fire the CreateProcess() function properly and not enough returned to me to know why it does not work ("data type mismatch" when calling it). I cannot quite figure out exactly what you are passing in to ExeWait() because some of the vars are ones specific to the program. Here is the crux of the code - if I had an example of what was being passed in for both halves of the "IF" statement, I could probably then work up my vars to match:
IF !EMPTY(lcshort) .AND. !EMPTY(lcpath)
lcpath = "'"+lcpath+"'"
SET DEFAULT TO &lcpath
llacordok = ExeWait(lcshort,lcline+hdir+xacordform+'.xfdf',lcpath)
ELSE
llacordok = ExeWait( m.cAppName, lcline+xacordform+'.xfdf',hdir)
ENDIF
Would you be able to run the program (or do from memory) what is being passed in for all 3 params for both calls to ExeWait()? That would help a LOT (I have tried lots of things).
Thanks,
Albert Gostick
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