Hello there. Is there anyway to clear the IE History, Cookies, Temporary Internet Files, Documents and Run? Any API available to clear these? Thank you.
Actually I am trying to write a program that can do these kind of housekeeping for my PCs. I do not want to go and do housekeeping for each and every PC. :~/
actually as a guy who likes to do server-side stuff, im opposed to deleting cookies. in fact on the site i made if you delete your cookies you have to choose a new logon name next time.
There's a utility called tweakui. It will do most of the things you describe, but I'm not sure about deleting cookies. As far as I know there's no OCX's to incorporate it into a VB program, but you can set it to clear urls, document history, run history, etc.. at logon. Plus a bunch of other stuff. Here's the url...
I am not sure the internet history folders are what they purport to be. If you look at the folders and delete in certain folders they remain in others, not duplicated but it looks that way. When I use explorer to delete history I usually have to hit files twice and end-up removing whole folders in anger. I don't see the syntax of folder naming either, even though it is a date code of some sort.
I use a system clean-up app - it is easier.
Not tried it from VB
try fred = Dir(known name of file) and see if it finds it, if it does it will probably delete it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.