Trouble with Pictures in Runtime

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
jkwireless_(Guest)
Posts: 2
Joined: Tue Oct 10, 2017 12:44 pm

Trouble with Pictures in Runtime

Post by jkwireless_(Guest) » Mon Dec 31, 2007 3:42 am

Greetings,____We create a report in which a product image is displayed along with data detail. Our program always renames the image to TEMP.JPG for consistency before calling the report. The only problem we are having is that the RRW Designer is forcing us to input a Drive and Directory name specifier along with the TEMP.JPG image name in order for the image to be inserted into the report. This causes an error if our end user installs our application into any directory other than that named when we created the report. I tried to just put the filename TEMP.JPG (without drivedirectory) in as we place always this file in the same location as the report.RRW we are calling, but the designer just won^t allow it.____Is there a way to tell the report to just look in the report/current directory for the image? How do we design this report without having to hard code in a drive and directory?____Thanks,____Josh

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> Trouble with Pictures in Runtime

Post by kfleming » Mon Dec 31, 2007 12:21 pm

You can set the default image folder by using the IMGDIR setting in the DEFAULTS section of RRW.INI. You can place the INI in the same folder as RRWRUN.EXE.__R&R uses the default image folder when it cannot find an image file in the location that was saved with the report.____Kathleen__R&R Support

Post Reply