?
Solved

Deleting Temporary Internet files

Posted on 2003-02-19
3
Medium Priority
?
417 Views
Last Modified: 2010-04-17
How can I delete Temporary Internet Files using Visual Basic 6?
Thanks
0
Comment
Question by:cheerio79
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Expert Comment

by:Helde
ID: 7980680
Hi cheerio79, the easiest way should be to build a simple program that deletes files older than a certain date in a folder(Temporary Internet Files), or all files in a folder.
0
 

Accepted Solution

by:
mjmanikandan earned 200 total points
ID: 7980984
It can be done by using WinInet APIs:
(1)FindFirstUrlCacheEntry,
(2)FindNextUrlCacheEntry,
(3)DeleteUrlCacheEntry,
(4)FindCloseUrlCache.

--Use function1 first
--then until the last cach entry (using function4)
--------------use function2 and delete using function3

Instead of CacheEntry u can also use CacheGroup

If u know vc++ u can visit the site
http://www.codeguru.com/ieprogram/DeleteTemps.shtml (this might not load at first go, so try refreshing 2 or 3 times)

Best Rgds
Mani
0
 
LVL 3

Expert Comment

by:FaithRaven
ID: 9300069
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept mjmanikandan's comment
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

FaithRaven
EE Cleanup Volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Make the most of your online learning experience.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question