Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best approach to verify for exclusivity of a file
Message
De
08/08/2011 15:29:03
 
 
À
08/08/2011 14:48:24
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01520429
Message ID:
01520438
Vues:
52
>I think in the final analysis you have to just try to move it, wrapped in a TRY...CATCH.
>
>You might be thinking:
>
>1. Check if anyone else is using the file
>2. If not, move it
>
>But, someone else could start using the file between 1 and 2. Yes, the time span between 1 and 2 may be small, and the chance of that happening low, but it could happen.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform