Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DIR?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: DIR?
Miscellaneous
Thread ID:
00323604
Message ID:
00323661
Views:
26
>>How can I display the contents of a Directory in a Combobox/Listbox?
>>The Only command I can find is DIR, but this outputs to the Window.
>>
>>I hate asking basic questions, but I'm not too familiar with VFP, any pointers appreciated.
>>
>>- Aaron.
>
>In addition to what Rick told you, both the Combo and Listboxes support a RowSourceType of 7 (Files). Check help for further details.

And let's not forget the all-important Scripting.FileSystemObject!!!!! Getting files from a Files or SubFolders collection is easy...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform