Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adobe Acrobat Reader using a file
Message
De
02/11/2003 08:01:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00845413
Message ID:
00845415
Vues:
11
>Hi All,
>
>Is there a simple way of determining if a PDF file is currently open in Acrobat Reader? My users create PDF files of reports using XFRX and often forget to close them or rename them before re-running the program to generate them. Of course, the program crashes due to the file being unavailable.
>
>Regards...Rex

Rex,

This seems to work (open anywhere)
fd=fopen('\tmp\a.pdf',1)

if( fd < 0 )
    ? 'Cannot open file, already open or does not exist'

else && was not open

    =fClose(fd)
endif
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform