Previous Document Next Document
RecentFiles.Add

Function Add(Name As String, Path As String) As RecentFile

Member of RecentFiles

The Add method places a specified document in the Most Recently Used (MRU) list of CorelDRAW.

Parameters
Description
Name
Specifies the name of the file
Path
Specifies the path to the file

The following code example adds the file C:\Temp\Graphics\MyFile.cdr to the list of most recently used files:

Sub Test() 
 RecentFiles.Add "MyFile.cdr", "C:\Temp\Graphics\" 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.