Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Dialog
Message
De
25/10/2000 02:56:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00433908
Message ID:
00433926
Vues:
16
>Hello,
>
> I was wondering if anyone knew how I could bring up a File Dialog that would let the user choose a file and then return the filename to a variable in the program.

GetFile() works for already existing files, and PutFile() is very useful when you want the user to possibly furnish a non-existant name, and LocFile() will select a specific file if it's where it can be found, otherwise will let you hunt for it. ANd you can invoke the COmmon Controls SHowOpen() dialog using the Microsoft Common Controls ActiveX control

>
>Thanks for any help,
>
>Mark
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform