|
-
Jun 7th, 2006, 11:58 AM
#1
Thread Starter
Addicted Member
[2005] construct menu at runtime
I wish to construct a menu within my mnuOne menu item at runtime.
I want to do it based on the structure of the folders,
files within folders are structured as follows:
Line1: Name
Line1: Location
Which would be opened using FileOpen.
How would I construct the menu at runtime in VB which creates a menu item for each file and folder in location "c:/myfolder"
E.g.
Directory c:/myfolder structure is as follows:
c:/myfolder/fil1.txt
c:/myfolder/file2.txt
c:/myfolder/directory/file1.txt
c:/myfolder/dir2/fil1.txt
I would want a menu as follows:
mnuOne/filename
mnuOne/file2name
mnuOne/directory/file1name
mnuOne/dir2/file1name
Thanks
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
|