How can I lock files so that other programs cannot access them while mine does?
Printable View
How can I lock files so that other programs cannot access them while mine does?
Use the open statement to lock:
Code:Open filename For append lock read write As #1
Thanks Jim - I read your earlier posting with this in it but it did not seem to stop Adobe from opening a PDF locked this way (which was my aim).Quote:
Originally posted by jim mcnamara
Use the open statement to lock:
Code:Open filename For append lock read write As #1