|
-
Apr 5th, 2002, 04:53 PM
#1
Thread Starter
Hyperactive Member
Is this possable?
Does anyone know how to display the contents of a directory inside of a menu?
I only want to show a max of 20 items if possable.
a little code would help.
TIA
-
Apr 5th, 2002, 04:55 PM
#2
You need to create 20 menu items and set their visibility to hidden.
Then, use the File System Object's method GetFolder and assign to a Folder object.
Then, for each the Files in Folder and when you reach 20, bail out.
On each iteration, increment your index and update the menu item that corresponds to the index.
-
Apr 5th, 2002, 05:03 PM
#3
Thread Starter
Hyperactive Member
Is there an easier way to do this?
I don't need to limit the #, I really just want to list dir contents so if the contents change the list changes too.
Is there a way to do that?
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
|