What is the cleanest way to find out if a file (such as a pdf) has already been opened by another program or user?
When I try to open a PDF in my PB application (using adobePDF OLE control) I get an error when PDF file is being viewed by another user already.
Is there a function to check for this? Even if its a kernel.dll type external function - that's okay, I just am unfamiliar with which one.
When I try to open a PDF in my PB application (using adobePDF OLE control) I get an error when PDF file is being viewed by another user already.
Is there a function to check for this? Even if its a kernel.dll type external function - that's okay, I just am unfamiliar with which one.