The browser is open and accessing the file. You cannot delete it if another process has a lock on it. If your intention is to delete just the cookies, then you are OK with leaving this file around.
...Glenn On Wed, Oct 15, 2008 at 8:45 AM, toanmh" <[EMAIL PROTECTED]> wrote: > > oh. thanks alot. I'm using > EmptyCacheFolder(new > > DirectoryInfo(Environment.GetFolderPath(Environment.SpecialFolder.Cookies))); > > That seem ok. But only file "index.dat" in "C:\Users\toanmh\AppData > \Roaming\Microsoft\Windows\Cookies\Low" Canot deleted. the exception > is occurred: "The process cannot access the file 'C:\Users\toanmh > \AppData\Roaming\Microsoft\Windows\Cookies\Low\index.dat' because it > is being used by another process." > What are problem? please help me. > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/DotNetDevelopment You may subscribe to group Feeds using a RSS Feed Reader to stay upto date using following url <a href="http://feeds.feedburner.com/DotNetDevelopment"> http://feeds.feedburner.com/DotNetDevelopment</a> -~----------~----~----~----~------~----~------~--~---
