list all image in a folder

jorge

Well-known member
Joined
Jul 13, 2003
Messages
239
Location
Belgium
hey, how can i list all jpeg file in a perticular folder?
The filelistbox from vb6 is gone in vb.net(2003)

greets
 
you can use the GetExtension property, eg:
Code:
Path.GetExtension(" file path here for each file in your folder ")
im not at my own pc so i cant slap an example together unfortunatly.
hope it helps.
 
hmmz, but dont i know the filename in the folder?
sind i dont know whith files are there i cant enter the full path.
 
Thanx a lot, is there a good tutorial on systel.io ou there?

edit:// is there a way to only put the file names in it?
 
Last edited by a moderator:
Back
Top