
Listing files.TXT in a List Box
Quote:
> hello;
> Could anyone please tell me how to go to list all files in c:\vb\*.qry in
> a list box. Note that *.qry are always changing.
spec = "*.qry"
R = Dir$("c:\vb\" & spec)
Do While R <> ""
List1.AddItem R
R = Dir
Loop
This should do it
Jens