Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetFile analogue with ability to limit directory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01044804
Message ID:
01045449
Vues:
22
Hi Anatoliy,
...Windows NT 4.0/2000/XP: This flag is ineffective for GetOpenFileName.

MartinJ



>May be someone already have this solution mentioned:
>
OFN_NOCHANGEDIR
>Restores the current directory to its original value if the user changed the directory while searching for files.

>This value is assigned to the Flags in OPENFILENAME structure to be used with the GetOpenFileName API function. Unfortunately, calling this function in VFP is not an easy task.
>
>FoxPro code sample (members area):
>Creating the Open dialog box to specify the drive, directory, and name of a file to open
>http://www.news2news.com/vfp/?example=363&function=553
>
>Similar function, GetFileNameFromBrowse has much better interface from VFP viewpoint. Though I could not find any flags applicable to a call that limit working directory.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform