hey, im writing a program that has a button which opens up a folder browser dialog, then the user chooses a folder and the names of the files in that folder are put into a text box, i dont need the file extension to be printed there, just the file names and extensions.

does anyone have any idea on how i will be able to do this?

thanks in advanced