Advertisement
2002VB Windows System Services #22683

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

Resumo por IA: 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.

Código fonte
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
Comentários originais (3)
Recuperado do Wayback Machine