|
-
Jun 12th, 2001, 02:21 PM
#1
Thread Starter
Addicted Member
make directory into a menu
does anyone have code to convert a specifided folder tree w/ files into a menu? I'm talking about something similar to IE's favorites in concept.
Brian
Programming: VB5 Pro (SP3) - QBasic 1.1,4.5
Internet: HTML 4, CSS, JavaScript
Visit AltInt.com!
-
Jun 12th, 2001, 03:26 PM
#2
VB Code:
sFile = Dir$("C:\*.*")
Do Until sFile = ""
DoEvents
I = mnuItem.Count
Load mnuItem(I)
mnuItem(I).Caption = sFile
mnuItem(I).Visible = True
sFile = Dir
Loop
-
Jun 12th, 2001, 10:41 PM
#3
Thread Starter
Addicted Member
thanks.
any way to accommodate folders?
Brian
Programming: VB5 Pro (SP3) - QBasic 1.1,4.5
Internet: HTML 4, CSS, JavaScript
Visit AltInt.com!
-
Jun 13th, 2001, 03:40 PM
#4
Try Dir$("C:\*.*", vbDirectory)
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
|