Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How to erase "history" and "Temporary Internet Files" with delphi code

How to erase "history" and "Temporary Internet Files" with delphi codes.
thanks...

Comments

  • zibadianzibadian Posts: 6,349Member
    : 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_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell 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.
  • tefariktefarik Posts: 3Member
    : : 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_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell 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...
Sign In or Register to comment.