VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Clear Recent Documents List

rudz  (10 Submissions)   Windows System Services   Visual Basic 3.0   Beginner   Wed 3rd February 2021

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

Assumes
place in a module, set 'Sub Main' as startup, press F5.

Returns
0 if no error occoured.

Side Effects
if there's _many_ entries in recent folder, have patience :)

API Declarations
Private Declare Function SHAddToRecentDocs Lib "Shell32" (ByVal lFlags As Long, ByVal lPv As Long) As Long

Rate Clear Recent Documents List (4(4 Vote))
Clear Recent Documents List.bas

Clear Recent Documents List Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters