Using the built in Crystal Reports for VS 2005 I can open a report Click Crystal Report > Insert > Ole Object > and grab a bitmap from my hard drive. This will then print on the report. However, I cannot figure out how to do this by code.
I have a few bitmaps on my C drive. Through code I want to select which one will print on the report.
This is what I have so far.
dim rptPicObj as pictureobject
rptPicObj = rpt.ReportDefinition.ReportObjects.Item(
"Picture1")
Now, I don't know if this is correct but this is how I access all of the fields on the report and can add information or text to them.
So I have C:\mySig.bmp and I want to put it to a picture on my crystal report any ideas - would perfect to not load it to a dataset.
Edited by Enzyme80 - 09 Apr 2010 at 3:06am