General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2008 Server
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only