>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
=fClose(fd)
endif
Gregory