Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Help! VFP Run command Window Locks
I am tearing my hair out over this one. I have a VFP program which is required to DOS Pkzip files. I have always used this same approach with 95 and I thought NT in the past without a problem. The following is the partial sample code extract :
select offices
SCAN
* O.k When run here
*testcmd = "p:\support\pkzip.exe"
*run &testcmd
wait window "Testing office : " + offices.office
Coffice = offices.office
* O.k when run Here
*testcmd = "p:\support\pkzip.exe"
*run &testcmd
****************************************************
if offices.prodnld = .T.
* Not O.k Here
testcmd = "p:\support\pkzip.exe"
run &testcmd
****************************************************
wait window "Starting office : " + offices.office
Cpath = Ccurpath + Coffice + "\dnld\"
It seems when the code enters the first if statement it is game over. Th DOS zipping completes properly however the run command window will not exit. I changed the foxrun.pif not to close on exit and it would then allow me to manually click close however right after clicking close VFP Locks Solid with the run command window still on the screen with the mouse as an hour glass. Any help or direction would be much appreciated.
Thanks
Scott K
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