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.
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.