Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying a directory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01086006
Message ID:
01086014
Vues:
26
>>>Instead of having a user browse in windows explorer for an adobe acrobat file to view which can be cumbersome for some, I want the user type in the name of the file(in a textbox on a vfp form). These files are arranged in certain pre arranged(hardcodable) directories and given the name of the file he types in, it will be a specific directory. What useful vfp commands/functions will allow a certain directory to be displayed so user can double click on his file?
>>
>>GETFILE() ?
>
>Would that "get" the file and be able to open it as a normal adobe acrobat file would?

It will return the name of the file selected by user. After that you can use SHELLEXECUTE() API or WSH Run() method to launch whatever application is associated with the file.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform