Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB5,VB6
Expertise: Intermediate
Aug 25, 2001

ClearIEHistory - Clear Internet Explorer history

' Clear the IE History
' Notes:
'  This routine requires the DeleteRegistryKey and CreateRegistryKey routines,
'  you can find them in the CodeBank
Public Sub ClearIEHistory()
    Const HKEY_CURRENT_USER = &H80000001
    Dim sKey As String
    
    sKey = "Software\Microsoft\Internet Explorer\TypedURLs"
    ' delete the key that contains the URLs the history
    DeleteRegistryKey HKEY_CURRENT_USER, sKey
    ' recreate the key, empty
    CreateRegistryKey HKEY_CURRENT_USER, sKey
End Sub
Marco Bellinaso
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date