Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic update of OLE Object bitmap

Status
Not open for further replies.

Theadmans

Programmer
Oct 23, 2006
35
GB
I use Crystal Version 10 to create reports for my application developed in VB under Visual studio 6.0

I have amended a report to carry a logo contained in an OLE Object Bitmap which is always linked to the same file (ReportLogo.bmp) in the same folder. I have ticked the Link option when setting up the OLE Object.

Whilst I am in Crystal Reports if I have change the bitmap contained in ReportLogo.bmp and refresh my report the logo changes to reflect the new bitmap.

However, if I run the report from my VB application and change the bitmap the logo does not update. The only way I can get the logo to update is to open the report again in Crystal and resave it - hardly ideal!

I know there is a way of displaying bitmaps from BLOB fields, however, I really like the simplicity of the OLE Object approach. I have seen some comments to effect that this is a Crystal 10 problem and is fixed in XI ? Can anyone suggest a solution in Crystal 10 as this is very frustrating.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top