Hi, How do I get the full filepaths of files in a specified folder and put them into a textbox or listbox?
you could use the dir() function on the folder and then add them with the files path!!!!
If you dribble then you are as mad as me Lost World Creations Website (XBOX Indie games) Lene Marlin
any examples?
VB Code: Dim strPath as String Dim strFile as String strPath = "C:\Windows\" strFile = Dir$(strPath) 'Get the first file Do While Len(strFile) > 0 List1.AddItem strPath & strFile strFile = Dir$ 'Get the next file Loop
Dim strPath as String Dim strFile as String strPath = "C:\Windows\" strFile = Dir$(strPath) 'Get the first file Do While Len(strFile) > 0 List1.AddItem strPath & strFile strFile = Dir$ 'Get the next file Loop
Last edited by ae_jester; Dec 12th, 2002 at 08:54 PM.
Forum Rules