By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 974 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

I can't access xml file from vb.net.

P: 1
I can't access xml file from vb.net.It always show " your file is being used by another process " .Please tell me what should I do.
Thanks in advance
Oct 26 '13 #1
Share this Question
Share on Google+
2 Replies


!NoItAll
100+
P: 296
If the file is open in another program that has exclusive access then there is nothing you can do until the other program is done. Sometimes its possible to first copy the file (unless the other program prevents that as well) and then access the copy...
Oct 27 '13 #2

Frinavale
Expert Mod 5K+
P: 9,731
Likewise, if your code opens the file, make sure you close it when you are finished with it or else nothing else will be able to access it.
Oct 29 '13 #3

Post your reply

Sign in to post your reply or Sign up for a free account.