Tamer_Ahmed Posted December 15, 2004 Posted December 15, 2004 hi all i have alot of process reading from one file and i get system.io exception say can't not read from file coz it's being used by another process well i want check if the fiile busy or not b4 getting dat from it does anyone know how to handle it Quote
Administrators PlausiblyDamp Posted December 15, 2004 Administrators Posted December 15, 2004 Could you not just handle the exception and either wait a while or prompt the user to try again? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
donnacha Posted December 17, 2004 Posted December 17, 2004 If you are reading only from the files then I don't understandy why you have a problem. You should look at you code for opening the file and see if it is opened for more tha reading. Quote Hamlet
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.