views:

850

answers:

4

Where does Internet Explorer stores its form data history that is uses for auto completion? I need to make a tool the cleans IE form data.

Is there an API for this? Or what are the registry keys?

Thanks.

+1  A: 

I'm not sure what the registry keys are, but you could work it out by taking a snapshot of your registry, then deleting your form data history, and comparing it and seeing what's different.

I doubt there's an API for it, but that's just a guess.

Bravax
A: 

Have a look at "Clear All History" Its a tool to do what you exactly need.

You will find similar open source tools. Try googling for them.

In Hindsight you would also want to check out CCleaner. Its freeware and equally a fantastic tool to keep, amongst others, your internet history clean.

Kevin Boyd
A: 

IE stores the history in the following path

C:\Documents and Settings\username\Local Settings\History

replace ur user name with username..

if the above path not appears..

  1. go to Tools > Folder Options menu in windows explorer
  2. select the View tab.
  3. Scroll down to find Hide Protected Operating System Files. Uncheck it.
  4. Click OK.

now it ll show up...

if the Hide Protected Operating System Files. is missing in ur option

EDIT

run the below regedit settings in cmd

regedit /a /e %systemdrive%\regkey.txt "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SuperHidden"

Cheers

Ramesh Vel

Ramesh Vel
That's not where the autocomplete data is.
EricLaw -MSFT-
so if i delete the history data from the above specified path, it wont affect the auto completion. and it would still the show the history..? is that right..?
Ramesh Vel
+1  A: 

Autocomplete data is stored in the registry in two places:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IntelliForms\Storage1 HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IntelliForms\Storage2

Direct manipulation is not supported.

Technically, the IE7+ API to do this is:

rundll32.exe inetcpl.cpl,ClearMyTracksByProcess 48

But I'm not sure this is formally supported for public callers.

EricLaw -MSFT-