Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with GetFile() function. Bug?
Message
From
08/02/2009 20:00:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01380178
Message ID:
01380190
Views:
59
>I agree with you. I will take out the GIF and JPG from the parameter string. And the user will be able to select All types and select any file, if they need to.

Another option is to create your own substitute, with a form and a ListBox or Grid, populated with information from adir(). However, this would be easy for a single directory, but it would take some extra work to get the ease you have with getfile(), to select other directories. Just as it is tricky with getfile() to block this feature <g>. Depending on your needs, this might not be worth the trouble.

Perhaps something pre-built can already be found; but a quick search in the download section, for getfile(), only reveals one download that seems related - download #28162 - which relies on a commercial OCX file.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform