Computer Hope
Software => Computer programming => Topic started by: Computer_Junkie on August 04, 2004, 12:48:06 PM
-
hey everyone,
is there a way in Visual Basic(VB6) to automatically look into a folder and add a filename to a listbox? or part of a filename(e.g. c:\ver_25, but the program would automatically extract only the 25 when you start the program)
Any Help is greatly appreciated, thanks!
-
i found out how to do it, you have to declare a variable as type "folder" then use the "GetFolder" method to get the folder. You can even get the subfolders by using the ".subfolder" method.
Thanks anyways everyone