Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Know A File (BMP, TIFF...) Is Opened ?
Message
From
04/10/2007 14:17:53
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/10/2007 12:19:30
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01258519
Message ID:
01258659
Views:
17
>Then it's not good for me.

Then you would have to come up with a definition of "file open". If a bitmap is open in any app that can do it, and the file itself is released (i.e. no process has a handle on that file), how is anyone supposed to know the intention of the app's user? The user may have just opened the bitmap for copying into another app, directory, machine or for just viewing. The app may do any of update operations on the file or it may do none. Your app has no means of knowing what the other app's user may want to do. Artificial intelligence is a bit harder to do than artificial teeth.

For me, "technically not open" and "not open" are the same. If any app has opened it and was nice enough to close it immediately has therefore made it possible for me to open it myself. This definition doesn't seem to satisfy the conditions of your case.

So... let's try again. Reformulate your question with your definition of "open", and then we'll see.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform