Connecting Tech Pros Worldwide Help | Site Map

File names

Member
 
Join Date: Oct 2007
Location: Australia
Posts: 83
#1: Oct 11 '07
Hi all, I want to store all file names in a string array from particular directory? such as : str(1)=C:\test\a.doc
st(2)=c:\test\b.doc
st(3)=c:\test\c.doc
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,505
#2: Oct 11 '07

re: File names


So what is the problem ?
QVeen72's Avatar
Moderator
 
Join Date: Oct 2006
Location: Bangalore
Posts: 1,385
#3: Oct 11 '07

re: File names


Hi,

Place a "FileListBox" control on the Form, Change its Path, Refresh it, Loop through all the List Items in the FileListBox and populate the Array.

Regards
Veena
Reply