Results 1 to 4 of 4

Thread: make directory into a menu

  1. #1

    Thread Starter
    Addicted Member bbosh's Avatar
    Join Date
    Oct 2000
    Location
    Hell (AKA New Mexico)
    Posts
    186

    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!

  2. #2
    Megatron
    Guest
    VB Code:
    1. sFile = Dir$("C:\*.*")
    2.    
    3.     Do Until sFile = ""
    4.         DoEvents
    5.         I = mnuItem.Count
    6.         Load mnuItem(I)
    7.         mnuItem(I).Caption = sFile
    8.         mnuItem(I).Visible = True
    9.         sFile = Dir
    10.     Loop

  3. #3

    Thread Starter
    Addicted Member bbosh's Avatar
    Join Date
    Oct 2000
    Location
    Hell (AKA New Mexico)
    Posts
    186
    thanks.

    any way to accommodate folders?
    Brian
    Programming: VB5 Pro (SP3) - QBasic 1.1,4.5
    Internet: HTML 4, CSS, JavaScript
    Visit AltInt.com!

  4. #4
    Megatron
    Guest
    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
  •  



Click Here to Expand Forum to Full Width