Home General VB/VBA Add File to Recent Document List
20 | 05 | 2012
This site has been updated and renewed. You have followed an old link.

Click here to go to the new site

http://www.visiblevisual.com/jupgrade

Add File to Recent Document List PDF Print E-mail
User Rating: / 0
PoorBest 
Tutorials
Written by Administrator   

Show/Hidden vbnet code

View source
Option Explicit
 
 
 
	Private Declare Sub SHAddToRecentDocs Lib "shell32.dll" (ByVal uFlags As Long, ByVal pv As String)
 
	'Add a document (file) to the Recent Document List
 
	Public Sub AddRecDocList(ByVal FileName As String)
 
	If Dir(FileName) Then
 
	SHAddToRecentDocs 2, FileName
 
	End If
 
	End Sub

 

Add comment


Security code
Refresh

This site has been updated and renewed. You have followed an old link.

Click here to go to the new site

http://www.visiblevisual.com/jupgrade