Results 1 to 4 of 4

Thread: filepaths

Hybrid View

  1. #1
    Frenzied Member ae_jester's Avatar
    Join Date
    Jun 2001
    Location
    Kitchener Ontario Canada Earth
    Posts
    1,545
    VB Code:
    1. Dim strPath as String
    2. Dim strFile as String
    3. strPath = "C:\Windows\"
    4.  
    5. strFile = Dir$(strPath) 'Get the first file
    6. Do While Len(strFile) > 0
    7.     List1.AddItem strPath & strFile
    8.     strFile = Dir$   'Get the next file
    9. Loop
    Last edited by ae_jester; Dec 12th, 2002 at 08:54 PM.

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