Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Know A File (BMP, TIFF...) Is Opened ?
Message
De
04/10/2007 14:17:53
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
04/10/2007 12:19:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01258519
Message ID:
01258659
Vues:
16
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform