Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PUTFILE() and extensions
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01660196
Message ID:
01660204
Views:
50
>>>Hi,
>>>
>>>In the PUTFILE() dialog I want the user to see both XLS and XLSX files. The only way I could do it if I pass the following in the Extention parameter: "XLS*" (using asterisk wild card).
>>>
>>>But I read in VFP help that I should be able to specify two extensions as "XLS, XLSX" or "XLS| XLSX" or "XLS; XLSX" but none of these methods work.
>>>
>>>What am I missing?
>>
>>Please remember that XLSX came out after the last release of Foxpro. XLSX is mostly a zipped XLS file, which I don't think PUTFILE can handle.
>
>I was asking why the PUTFILE dialog does not show all files with the extensions listed in the Extension parameter. It should not matter what is "inside" the file. From reading VFP help, the PUTFILE() should simply show in the dialog window all files of the listed extensions. I could have used "DOC, TXT" or whatever.

I used "XLSX|XLS" and I get this.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform