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 摘要: 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.
源代码
' 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
原始评论 (3)
从 Wayback Machine 恢复