Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anything besides Run
Message
De
24/10/2001 14:12:10
Steven Dyke
Safran Seats USA
Texas, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00568844
Message ID:
00572798
Vues:
37
George,

I have came up with this code to at least wait for Distiller to complete task. But for some reason the temporary folder where the files are becomes locked by my app and can't be deleted until app closes. The files in the folder can be deleted with no problems. When I try to delete the folder I get a sharing violation message.

Run /N acrodist.exe &sdewse2
Set Default To "\\gv-engineering\drawing\wgen\pre_pdf\pdf_hold\" + AllT(pdfcue.dwgnorev)
Do While .T.
hgy = FOpen(AllT(pdfcue.dwgnorev) + ".pdf")
? hgy
If hgy <> -1 Then
? hgy
FClose(hgy)
pdfflag = .T.
Exit
EndIf
Loop
pdfflag = .F.
EndDo
If pdfflag = .T.
MessageBox("Finished")
EndIf
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform