|
-
Jan 22nd, 2007, 05:17 AM
#2
Re: How to check if a file is being used by another process.
I don't know if this is available in the compact framework but there's a
DownloadDataCompletedEventArgs
class. Check to see if it exists under the Imports: System.Net
Think this example may help
MSDN
I think the webclient also has some features that may help like: IsBusy etc...
Alternatively, if none of that is helpful then you could as a rough work-around put it in a Try block and if an exception happens start a timer (without a message if you wish) to try again in a certain amount of time.
Last edited by stimbo; Jan 22nd, 2007 at 06:20 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|