Board index » Visual Studio » Use VBScript To Delete History

Use VBScript To Delete History

Visual Studio215
Is it possible to delete pages from a user's history using VBScript? How is

this done?

--

Hmm...they have the Internet on COMPUTERS now!


-
 

Re:Use VBScript To Delete History

hi mdw,



It is possible to delete _ALL_ the pages, if that is any help.



You can use vb code found here:



www.devx.com/vb2themax/Tip/19339">www.devx.com/vb2themax/Tip/19339



Here is a quote from that page.



--- <quote>---

ClearIEHistory - Clear Internet Explorer history



' Clear the IE History

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 in the history

DeleteRegistryKey HKEY_CURRENT_USER, sKey

' recreate the key, empty

CreateRegistryKey HKEY_CURRENT_USER, sKey

End Sub



Author: Marco Bellinaso

--- </quote>---



While that is vb, you ought to be able to do that with vbs.



Even though you didn't ask for a way to delete all, your

teenage son will probably want EVERY porn site he visited to

be deleted, rather picking-and-choosing, so that mom-and-dad

won't be able to check up after he surrenders the system.



cheers, jw

____________________________________________________________



You got questions? WE GOT ANSWERS!!! ..(but,

no guarantee the answers will be applicable to the questions)







MDW wrote:

Quote
Is it possible to delete pages from a user's history using VBScript? How is

this done?

-