This example disables the list of most recently used files.
RecentFiles.Maximum = 0
This example displays a message if the number of custom dictionaries is equal to the maximum number allowed. If the maximum number hasn't been reached, a custom dictionary named "MyDictionary.dic" is added.
If CustomDictionaries.Count = CustomDictionaries.Maximum Then
MsgBox "Cannot add another dictionary file"
Else
CustomDictionaries.Add "MyDictionary.dic"
End If
This example increases the number of items on the list of most recently used files by 1.
num = RecentFiles.Maximum
If num <> 9 Then RecentFiles.Maximum = num + 1