Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETFILE() - Select Multiple Files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01351917
Message ID:
01352012
Vues:
39
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform