Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFile (or the like) for only documents
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01440408
Message ID:
01440441
Views:
58
This message has been marked as a message which has helped to the initial question of the thread.
>>>Hi everybody,
>>>
>>>I want to have a dialog (could be a Getfile or something more fancy) that will only allow to select documents: Word files, Excel, PDFs, Visio (and AutoCad) drawings and text files.
>>>
>>>Do you know how can I code this functionality?
>>>
>>>Thanks in advance.
>>
>>Getfile() allows you to specify the file extensions as the first parameter.
>>Also look at the componenent gallery->foundation class->dialogs->common dialog.
>
>Yes, I know - the question is more of how to define all the extensions (filters) I need to put.

HKEY_CLASS_ROOT in the registry shows all the extensions.
Previous
Reply
Map
View

Click here to load this message in the networking platform