|
-
Feb 23rd, 2000, 12:52 PM
#1
Thread Starter
New Member
I want my program to allow the user to select a folder.
Then I want the program to find all files in that folder and load the filenames into an array as strings.
Does anyone know how I would do this?
-
Feb 23rd, 2000, 03:31 PM
#2
Hyperactive Member
Hello Fav,
Answer to your question:
Private Sub Form_Load()
Dim Arr(100) As String
Dim N As Integer 'maybe Single (if not more as 255 files)
For N = 0 To File1.ListCount - 1
Arr(N) = File1.List(N)
Next N
End Sub
Succes,
michelle.
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
|