Library code snippets
Clear the Recent Documents list
By James Crowley, published on 14 Jul 2001
This short piece of code shows you how to clear the recent document list. All you need to do is add the code below, and call the ClearDocuments procedure
Private Declare Function SHAddToRecentDocs Lib "Shell32" (ByVal lFlags As Long, ByVal lPv As Long) As Long
Public Sub ClearDocuments()
SHAddToRecentDocs 0, 0 'clear all items under Documents
End Sub
Related articles
Related discussion
-
Regarding Visual Basic Programme
by manjunathsl2007 (0 replies)
-
how do you hide all in VB6
by CapnJack (1 replies)
-
Problem with Input File
by novavb6 (3 replies)
-
How to produce a txt file with a table??
by novavb6 (1 replies)
-
VB6 compatability from XP to Vista
by bronx (1 replies)
Hi,
I need a vb code that would delete the temporary internet files and cookies on the click of a button
This thread is for discussions of Clear the Recent Documents list.