Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show BMP files from folder!

Status
Not open for further replies.

theCroat

Technical User
Sep 27, 2006
20
HR
Hello there, i have folder \temp and inside are alot of files, i'd like to see ONLY BMP files in filelist, can someone provide me some help?
 
Code:
File1.Path = "C:\temp\"
File1.Pattern = "*.bmp"

HTH

---- Andy
 
File1 .> i dont have that only List1 but when i rename File to List with your code it wont work: '424 objec required
 
For Andy's recommendation you should be using a FileListBox control not a ListBox control.

regards Hugh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top