Delphi and Kylix

Moderators: pritaeas
Number of threads: 7244
Number of posts: 19051

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to erase "history" and "Temporary Internet Files" with delphi code Posted by tefarik on 29 Sept 2003 at 10:46 AM
How to erase "history" and "Temporary Internet Files" with delphi codes.
thanks...
Report
Re: How to erase "history" and "Temporary Internet Files" with delphi Posted by zibadian on 29 Sept 2003 at 12:13 PM
: How to erase "history" and "Temporary Internet Files" with delphi codes.
: thanks...
:
Erasing the Temp. Internet files is quite simple. First you'll need to know where they are stored. This can be found in the registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders. The you can use FindFirst(), FindNext() and FindClose() to navigate through the underlying directory structure and find the files. DeleteFiel() function is excellent to remove the files. If you als want to delete the directories, just use RemoveDir() afterwards.
There are two types of history: the links of recently opened files and the registry history. The first can be found in a directory, of which the location is also listed under the key given above. Then you can use a similar method to remove them as described above.
The other type of history needs to be removed using the TRegistry object.
I don't know how to clear the location bar of IE or NN.
Report
Re: How to erase "history" and "Temporary Internet Files" with delphi Posted by tefarik on 30 Sept 2003 at 1:59 AM
: : How to erase "history" and "Temporary Internet Files" with delphi codes.
: : thanks...
: :
: Erasing the Temp. Internet files is quite simple. First you'll need to know where they are stored. This can be found in the registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders. The you can use FindFirst(), FindNext() and FindClose() to navigate through the underlying directory structure and find the files. DeleteFiel() function is excellent to remove the files. If you als want to delete the directories, just use RemoveDir() afterwards.
: There are two types of history: the links of recently opened files and the registry history. The first can be found in a directory, of which the location is also listed under the key given above. Then you can use a similar method to remove them as described above.
: The other type of history needs to be removed using the TRegistry object.
: I don't know how to clear the location bar of IE or NN.
:
Thanks...



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.