Integra for Notes Banner
  QuickReports Integra4Notes Integra Family of Products

Integra Script Library Documentation


Context:

Function

Library/Class:

Utilities



Function OpenFileDialog() As

OpenFileDialog (MultiSelect As Integer, Message As String, DefaultDir As String) As String

This function displays the Windows File-Open dialog. It disables the progress bar before activating the dialog and enables it afterwards.

Parameters:

    MultiSelect (Integer)
      True or False. If True, the File-Open dialog will allow the selection of multiple files. In this case OpenFileDialog will return one string of filenames each filename separated with a semicolon. If False, the File-Open dialog allows the selection of a single file only.
    Message (String)
      A prompt/title displayed in the Open-File-Dialog.
    DefaultDir (String)
      Default directory the Open-File-Dialog opens with.

Return Value:
    String. Comma separated list of files (including their pathname).

    Sample:
     



      Dim filename As String
    Filename = OpenFileDialog(True, “Please select the file(s) to be processed”,GetIntegraDataDir())

    Call MessageDialog(FileName,0,”You selected the following files…”)
     

 
QUICK LINKS
 
 

 

  © Shireburn Software Ltd. 2008 - 2024