>How do I test if a file is already open? The file I want to check is a pdf file not a foxpro table. I've tried fopen() but it always gives me a valid handle regardless if it is open. Delete file
gives me an error message if the file is open. Any ideas?
>
>Tim
Try to open the file for Read/Write.lnFH = FOPEN(lcPdfFile, 12)
IF lnFH > 0
=FCLOSE(lnFH)
ELSE
ENDIF
--sb--