Click here to Skip to main content
15,900,681 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello!
I try to delete my Temporary Internet Files and I do it by using the command "kill()", but I get an error: "No files found matching".
What is the problem?

Thanks!
Posted
Updated 28-Mar-10 5:59am
v2

The problem is that you can't kill VB. Once you think it's been killed, it comes back as "something better".
 
Share this answer
 
I'm assuming you want to this from code not via the IE options dialog.

Kill is used to terminate a process, System.IO.File.Delete[^] is used to delete files
 
Share this answer
 
I use a webbrowser control in my program and if I use System.IO.File.Delete it tells me that it cannot delete some files because they are being used... and advices?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900