>I'm implementing image processing in my VMP application. In the form I move all of the file names, dates created, size, etc. (faxes stored in TIF format) of files from a folder into a cursor. The form allows the user to add some additional data based on who the fax is from and then when Saved, it creates a record in a table in my database. It is important that faxes are processed in the order received, so I order the records in the cursor/grid by the date the fax was created. When multiple users are processing these documents we run into issues as everyone is trying to process the earliest received faxes (at the top of the list). Users end up working on a fax that someone else is already working with.
>
>The form opens the TIF document with an ActiveX control. I want to prevent users from opening the same document at the same time. I'm trying to stay away from using semaphores because of the issues created if a user aborts abnormally, etc. I have tried doing a fopen("c:\fa\temp\~FP1C28.tif", 2) but it always gives me a valid handle even though I have the file opened with the ActiveX control. Is there a way of determining if the file is opened already using NT?
>
>Tim
See message#
1008349
Gregory