Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting Locked Files
Message
 
To
18/10/2005 18:18:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01059899
Message ID:
01060216
Views:
18
Hilmar,

Very true.

Thanks,
Chad

>Any interaction with data outside the main program can easily fail for a variety of reasons. In this case: The file may not exist, you may not have access rights, or it may be blocked by another user. And probably a few others more; like: you want to write to the file, but the file is R/O.
>
>So, it seems like a good idea to test for any possible exceptions anyway, not just because another user may have locked it.
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Reply
Map
View

Click here to load this message in the networking platform