PDA

View Full Version : accessing files in folder



chanweijie
03-28-2005, 03:28 AM
hello guys, haf a problem here.

i haf a folder c:\pictures containing pictures of jpg and tga formats.

i haf a report which allows the user to input the filename(minus the extension) of a picture. i need the report to go to the folder, and get the picture, n then display it in the report. how do i go about doing this? i've managed to hardcode the coding and allow the report to display onli the tga format, but i wanna make it more versatile so tt it can automatically find out the file format of the picture and display any type of file format. thanx alot.

Killian
03-28-2005, 08:03 AM
Hi, :hi:
can you post the code you have already done. Or at least the part that captures the filename?