Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pdf checker
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Pdf checker
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01591849
Message ID:
01591849
Vues:
95
Hi
I am using XFRX to create PDF's and then email them
Very intermittently, unreadble PDF's are being created, but if I try again subsequently, with same documents etc , it creates the PDF fine.
If there was a utility available to 'Check' if a Pdf could be opened, I could wrap this in a loop, and perhaps the second time it might be ok....maybe its a timimg thing or something else going on in the environment.

Anybody know of a simple PdfChecker whcih would just return a True or false. I donmt want to waste time 'actually' opening the Pdf
My Loop would read
Do while i lt 5
Create Pdf
If Valid(MyPdf)
Exit
Endif
If reached Here
Wait window 'Still an error afert 5 attempts'
Enddo

Many thanks in advance
Regards,
Gerard
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform