Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 26th, 2005, 12:37 PM
Registered User
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't Programatically Delete CD Folders

I recently wrote a small tool to remotely manage my cd and mp3 collection (yes, all legal, I have the cd's to prove it). The strange part is when I use any delete method on folders that were created my Windows Media Player 10's "Rip" option, it throws a can not access error.

I checked all the permissions, and gave Everyone/Full Control to see if it was a permissions issue, and it isn't. It will delete the contents of the folder, but not the folder itself. I tried a restart, and still nothing. I also copied the folder from the My Music directory to the library location, so it is something that is copying along with the folder. I can recreate the folder, move the contents, and it works fine. I can also delete the folder in explorer with no problems. I also tried impersonation with Administrator, and nothing, I am out of ideas.

Any idea what would be creating a lock on these folders and how to remove it?

The app is writen in C#/ASP.NET, using standard System.IO stuff. Haven't tried writing a standard asp solution. I hate coding in vbscript now that C# is around.

 
Old April 27th, 2005, 06:57 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Old Old Old.. but no answer....

Did you make sure there are no hidden/system files that the rights were not changed on?


Hal Levy
I am here to help you, not do it for you.
That is, unless you hire me. I am looking for work.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to delete file System.IO.Delete error maricar C# 13 March 14th, 2014 06:50 AM
php/mysql delete button and delete query dungey PHP Databases 17 April 11th, 2009 12:24 PM
Need CD gemini9999 BOOK: Beginning Access VBA 0 November 29th, 2006 07:29 PM
how to delete a row when click delete hyperlink naveenkumarg1 Pro JSP 1 August 16th, 2004 01:29 AM
CD-R and CD -RW info wwwdirzala Beginning VB 6 0 May 4th, 2004 04:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.