FileManagerFolder.CreateFolder



CreateFolder(bsFolderName As String) As Boolean

Parameters

bsFolderName As String
The folder name is defined by a string.
ED
avaliable
RT
not used

Remarks

This method creates a new directory. It is not supported for all tpModulepaths directories. Returns True if successfull

Sample:


Sub CreateFolder()

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 "help list"
Set zFileManagerFolder = zFileManager.FolderItem(10)
'Create a new folder in the list
zFileManagerFolder.CreateFolder ("My_Folder")

End Sub

See Also

FileManagerFolder