|
ED
|
avaliable
|
RT
|
not used
|
This method allows the deletion of files. Returns true if successfull.
Sub DeleteFile() 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) 'Delete the first file in the list zFileManagerFolder.DeleteFile (0) End Sub