Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2007 Apr : Using DeleteUrlCacheEntry to delete a single file
| Subject: | Using DeleteUrlCacheEntry to delete a single file |
| Posted by: | "Jerry West" (..@comcast.net) |
| Date: | Tue, 24 Apr 2007 14:29:10 |
I have a single file in the IE cache I want deleted. I am using
DeleteUrlCacheEntry to do so:
l& = DeleteUrlCacheEntry("C:\Documents and Settings\user\Local
Settings\Temporary Internet Files\file.cab")
I always get back an error of 2 indicating that the file cannot be found. If
I open Windows Explorer and view the path I see that the file is indeed
there. Is there another method to using this API other than the example I
show here? Is what I am doing not possible?
Thanks,
JW