Salesforce

FileDlg (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

FileDlg (Magic xpa 4.x)

Accesses a Windows Open File dialog box.

Syntax:

FileDlg(string1, string2)

Parameters:

string1: A file type

string2: Groups of files

Returns:

An Alpha string containing the file name and path.

Example:

FileDlg('My Files', '*.dat;*.txt') opens the file dialog box in the project folder and shows all the files with .dat or .txt extensions

FileDlg('All Files', 'c:\temp\*.*') opens the file dialog box in the 'c:\temp\' folder and shows all the files

Exceptions:

This function is not supported in Rich Client tasks; instead, use the ClientFileOpenDlg and ClientFileSaveDlg functions to open the File dialog box on the client side.

See also:

DirDlg

The Online Samples project (program EL15, EL16 and EL17)

Reference
Attachment 
Attachment