VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Clear Documents Menu

by Adam Petrie (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

Clears the documents menu in Windows 95/98/NT.

Rate Clear Documents Menu

Option Explicit
Private Declare Function SHAddToRecentDocs Lib "Shell32" (ByVal lFlags As Long, ByVal lPv As Long) As Long

Private Sub Command1_Click()
SHAddToRecentDocs 0, 0 ' Clear All Items Under The Documents Menu
End Sub

Download this snippet    Add to My Saved Code

Clear Documents Menu Comments

No comments have been posted about Clear Documents Menu. Why not be the first to post a comment about Clear Documents Menu.

Post your comment

Subject:
Message:
0/1000 characters