: : 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.