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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load Picture(OLE) from code

Status
Not open for further replies.

johnugly

Programmer
Jun 21, 2004
31
0
0
BE
hi,
I want to load a picture into a report(CR9) from code, i.e. VB.NET.
Anyone knows how this can be done?

blobobject, pictureobject, none of these have a load property, and I cant cast to OLE Object
 
From VB.NET you need to load your image into a field in a recordset and then pass that recordset to the report object.

I've developed cViewIMAGE which does this inside a COM data driver and it works great inside a subreport with some other data from your report. The COM driver works with CR 8.5 and later.

CR XI includes dynamic images as one of it's new features so that might be worth consdireing

Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top