FileManagerFolder.AddItem



AddItem(bsFileName As String) As Boolean

Parameters

bsFileName As String
Filename (path) as string.
ED
avaliable
RT
not used

Remarks

This method allows adding files to the directory.

Sample:


Sub AddItem()

Dim zFileManager As FileManager 'Object from type FileManager
Dim zFileManagerFolder As FileManagerFolder 'Child object from type FileManager

'Fill the object
Set zFileManager = MyWorkspace.ActiveDocument.FileManager

'Read the "language list"
Set zFileManagerFolder = zFileManager.FolderItem(9)
'Add a new item into the list
zFileManagerFolder.AddItem ("C:\Language_Tables\English.txt")

End Sub

See Also

FileManagerFolder