>How do you select multiple files while Open File Dialog box is opened?
>
>After we select them, we want to be able to pass them to SQL
>
>
>EXAMPLE
>----------------------------------------
>l_newPicture = GETFILE()
>
>IF EMPTY(l_newPicture ) or !FILE(l_newPicture )
> RETURN
>ENDIF
>
>
>Thanks
http://www.ctl32.com.ar/ctl32_filedialog.asp"Better than GETFILE() and PUTFILE()
Both GETFILE and PUTFILE return file names in ALL CAPS. These classes use the proper original case of the file name and path.
GETFILE can only return one file name. ctl32_openfiledialog optionally allows multiselect, you can select up to thousands of files.
GETFILE and PUTFILE and the .NET classes do not let you choose the initial view style of the file list. These classes allow you to choose an initial display style, for example Thumbnails, by setting the ctlInitialView property. This setting does not work in Windows Vista.
GETFILE and PUTFILE only let you filter files by extension. These classes let you filter by using any valid filter expression that includes the file names and the extensions.
In Windows Vista, you can optionally use the new style open and save dialog boxes, just by setting the ctlAutoUpgradeEnabled property.
The "Places Bar" can be removed from the dialog."
No ocx dependencies, plain VFP code and Windows API.
Carlos Alloatti