Solved

Clear Cache, History, Files and Downloads

Posted on 2001-06-12
9
329 Views
Last Modified: 2010-04-06
Need code sample that will clear the History, Cache and Temp files for Internet Explorer and Netscape. Other supported browsers are a plus.
0
Comment
Question by:2amdevelopment
[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
9 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 150 total points
ID: 6184601
hi,
for ie you can find some infos here for that:

http://www.euromind.com/iedelphi/iecache.htm
http://www.euromind.com/iedelphi/urlhistory.htm

im not sure on netscape it wouldnt be the correct way but as it stores the cache in its own directory ie
j:\netscape\cache you may be able to simply use findfirst findnext  and deletefile  to delete the files..
(untested on netscape ,ive done it before for ie but its not the proper way to do it and can cause problems.)

Regards Barry
0
 

Expert Comment

by:clylv
ID: 6185414
a good thing to know is that you can find out where ie is storing chached files in the registry (on win 95, ie 5.5 its the key:

HKEY_Local_Machine\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\

here u will finde paths to cache, history and more

regards
Claes
0
 

Author Comment

by:2amdevelopment
ID: 6187228
The IE and Delphi components look good. However the clear Cache component does not appear to clear all of the cache. When I compile it I get a date read error on execution. I would rather see code that performed the tasks so I can learn rather than use just a component.
0
Industry Leaders: 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!

 
LVL 27

Expert Comment

by:Asta Cu
ID: 6906955
Please update the experts here who have so willingly stepped in to help you, since much time has passed since your last comments, and Email notifications may not have been generated to the participating experts here due to some problems at that time.

Somewhat off-topic, but important.

****************************** ALERT********************************
WindowsUpdate - Critical Update alert March 28, 2002 from Microsoft
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/ms02-015.asp
Synopsis:
Microsoft Security Bulletin MS02-015  
28 March 2002 Cumulative Patch for Internet Explorer
Originally posted: March 28, 2002
Summary
Who should read this bulletin: Customers using Microsoft® Internet Explorer
Impact of vulnerability: Two vulnerabilities, the most serious of which would allow script to run in the Local Computer Zone.
Maximum Severity Rating: Critical
Recommendation: Consumers using the affected version of IE should install the patch immediately.
Affected Software:
Microsoft Internet Explorer 5.01
Microsoft Internet Explorer 5.5
Microsoft Internet Explorer 6.0

Thought you'd appreciate knowing this.
":0)
Asta
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 7133981
This question is still open today, have you been helped here or is more needed?  If you need special handling help, post your intentions here please, and then create a new ZERO point question in the Community Support topic area with your request and include this link.
Thanks,
Asta
0
 
LVL 1

Expert Comment

by:quantum2
ID: 7134012
What I need is some code or a componenet that will clear the IE5 Cache and History. These components have been around a bit, and I get exception faults when I use them. Does anyone have another example of how to accomplish this...?

-Q2
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7134053
Hello,
Are 2amdevelopment and quantum2 the same person.  Only one account is authorized for each person.

Feedback please

Computer101
E-E Moderator
0
 
LVL 1

Expert Comment

by:quantum2
ID: 7134301
Yeah...
I had an old login from work that was 2am I asked for that one to be deleted. I do all of my answering, and posting from Q2.

0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 9286055
2amdevelopment,
No comment has been added lately (425 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to inthe http:#6184601

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

DragonSlayer
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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

718 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