backanim

  JR-FileViewer
Properties   Methods   Events
   

jrsoftlogo

            CreateNewFolder

           

  Description:

Creates a new folder.

           

  ico_syntax Syntax:

FileViewer1.CreateNewFolder (ByVal NewFolderName As String, ByVal NewPath As String) As Boolean

 

  ico_einstellungen Adjustments:

NewFolderName

Optional Name of the new folder. If the option is not used then the Name "New Folder" are used.

NewPath

Optional Path of the new folder. If the option is not used the new folder will be created in the   fileviewers CurrentFolder.

       

  ico_weitere Remarks:


Returns true if a new folder was created.

 

  ico_einstellungen Example:

       

    1.
    if FileViewer1.CreateNewFolder <>true
    then
      msgbox "Error on create new folder"
    end if

    2.
    if FileViewer1.CreateNewFolder ("test","c:\dokumente") <>true
    then
      msgbox "Error on create new folder"
    end if