backanim

  JR-FileViewer
Properties   Methods   Events
   

jrsoftlogo

            GetSpecialFolder

           

  Description:

Returns the path of one of the Windows special folders.

           

  ico_syntax Syntax:

FileViewer1.GetSpecialFolder(ByVal NewFolder As SHFolders)

 

  ico_einstellungen Adjustments:

NewFolder

one of the SHFolder values

       

  ico_weitere Remarks:


Returns the path of the special Folder or "" if the folder was not found.

 

  ico_einstellungen Example:

       

    If FileV1.SetToSpecialFolder(CSIDL_DESKTOP) = False Then
    '   MsgBox ("can't navigate to special folder")
    Else
      'get special folder path
      Label2.Caption = FileV1.GetSpecialFolder(CSIDL_DESKTOP)
    End If