Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2006

Tip: Looking for answers? Try searching our database.

Sharing violation error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
techy - 12 Jun 2006 22:48 GMT
hi guys

i am facing an error while trying  to delete a file

access denied  "c:\\22.bmp" file is in use by another process

what i am trying to do is

i have loaded an image it goes fine
but if i try to change the file then , it throws the error

thanks in advance to all fellow techies
Saad Rehmani - 13 Jun 2006 00:13 GMT
Techy,

Do a search for 'Process Explorer', use it to figure out what process has
a handle open to the file that you're trying to delete.

If its the same exe as the one that you're running this in, make sure you're
Dispose()'ing any previous handles to this image.

Cheers,

Signature

Saad Rehmani / Prodika / Dallas / TX / USA

> hi guys
>
[quoted text clipped - 7 lines]
> but if i try to change the file then , it throws the error
> thanks in advance to all fellow techies
krishjaya - 13 Jun 2006 07:23 GMT
Hi,

Just re-start the machine

Kj

> hi guys
>
[quoted text clipped - 8 lines]
>
> thanks in advance to all fellow techies

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.