britishdude
Technical User
Hi all
I'll probably get laughed off this forum, but hey here goes.
I'm pretty new to C++ and builder, i've written some small programs, hangman game, resistor colour finder prog, wage calculator prog.......so you get the level that i'm at!!
My question is this i'm trying to write a program that lists all the files in a folder(lists them in a combo box), the files either being Word or PDF docs then clicking on a button opens them (so starts up Word or Acrobat Reader).
what classes or components do i need to do this? Then eventually i'll add a search facility, ie adding part of file names list all posibilities. I feel confident enough to do that! but just dont know how to list files in a combobox or open the relevent doc when found!!
There's going to be 500+ files in the folder all of which are named with 10 - 15 digit numbers (none of the numbers relate to each other) so just going to the folder and finding the file isn't easy.
Am i out of my depth? or could it be done even by a relative newbie like myself. Just a nudge in the general direction would help.
I'll probably get laughed off this forum, but hey here goes.
I'm pretty new to C++ and builder, i've written some small programs, hangman game, resistor colour finder prog, wage calculator prog.......so you get the level that i'm at!!
My question is this i'm trying to write a program that lists all the files in a folder(lists them in a combo box), the files either being Word or PDF docs then clicking on a button opens them (so starts up Word or Acrobat Reader).
what classes or components do i need to do this? Then eventually i'll add a search facility, ie adding part of file names list all posibilities. I feel confident enough to do that! but just dont know how to list files in a combobox or open the relevent doc when found!!
There's going to be 500+ files in the folder all of which are named with 10 - 15 digit numbers (none of the numbers relate to each other) so just going to the folder and finding the file isn't easy.
Am i out of my depth? or could it be done even by a relative newbie like myself. Just a nudge in the general direction would help.