Advertisement
6_2008-2009 Windows System Services #203475

Clear Recent Documents List

Clears the recent documents list with a single command. Easy to implement in a text editor, or in some sort of trace-deleter program..

AI

AI Samenvatting: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Broncode
original-source
' Name : Clear all recent documents
' By  : Rudy Alex Kohn
'   [rudyalexkohn@hotmail.com]
Public Function ClearRecent()
 ' Clear the 'Recent Document' list
 ' Returns 0 if successfull
 ClearRecent = SHAddToRecentDocs(0, 0)
End Function
Sub Main()
 If MsgBox("This will clean the 'Recent Documents', proceed?", 68, "Clear Recent Documents List") = 7 Then End
 If ClearRecent <> 0 Then MsgBox "Error.."
End Sub
Originele reacties (3)
Hersteld van de Wayback Machine