Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different Graphics in Reports when in .exe
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00157296
Message ID:
00157564
Views:
18
>I have a report form that contains a logo called zLogo.gif.
>
>I'm sending the report to numerous locations and it would be nice if they could copy their particular logo to a directory and have the report print their logo instead of the one that I put on when the report was created and the program compiled.
>
>Is this possible?

You could have your application create a temporary copy of the FRX and FRT files and then manipulate the image item so that it points to another picture.

COPY FILE MYREPORT.FR* TO TEMPREPORT.FR*
USE TEMPREPORT.FRX
LOCATE FOR OBJTYPE = 17 && Picture
REPLACE PICTURE WITH ["c:\test.bmp"]
USE

REPORT FORM TEMPREPORT
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Reply
Map
View

Click here to load this message in the networking platform