|
-
Jun 18th, 2001, 03:57 PM
#1
Populate drop down list using file names
I need some advice/help.
I need to be able to populate a dropdown list box using the contents of a directory.
What api's are available that i can call on or what would be a better way of doing this. again I am not using a database of anysort, i need to traverse a certain directory, collect files that match a certain criteria (i.e all .pdf files in a given directory) and populate a listbox using them. from there i would hava a go button that will basically open the file.
thanks for all the help in advance.
-
Jun 18th, 2001, 06:05 PM
#2
Lively Member
If you are doing this in VB you can just insert a hidden FileListBox in the project and step through this and add each file in the dropdown list.
If you are doing this in ASP, you'll have to use a FileSystemObject and step through this adding each file to the dropdown list.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|