setting crystal reports values from visual basic.net


G

Guest

Hello,
I'm not sure whether this is the right forum for this query, but here
goes anyway.
I am calling a crystal report from within vb.net code as shown below

oRpt = New ReportDocument
oRpt.Load("C:\Crystal Reports\MyReport.rpt")
CrystalReportViewer1.ReportSource = oRpt

In the report detail section I have a .net component called PICTURE1 which
is of type picture1control ( a custom control) I wish to set the PATH
property of the control to the filename property of the the report
datasource.

Any ideas would be greatly appreciated.

Regards
Geri
 
Ad

Advertisements

T

Thomas Wenning

Geraldine Hobley said:
Hello,
I'm not sure whether this is the right forum for this query, but here
goes anyway.
I am calling a crystal report from within vb.net code as shown below

oRpt = New ReportDocument
oRpt.Load("C:\Crystal Reports\MyReport.rpt")
CrystalReportViewer1.ReportSource = oRpt

In the report detail section I have a .net component called PICTURE1 which
is of type picture1control ( a custom control) I wish to set the PATH
property of the control to the filename property of the the report
datasource.

Any ideas would be greatly appreciated.

Regards
Geri

Hi Geri,

here are some info's from business objects:
http://support.businessobjects.com/library/kbase/articles/c2004336.asp
http://support.businessobjects.com/library/kbase/articles/c2014600.asp
http://support.businessobjects.com/communityCS/FilesAndUpdates/cr9_vb_rdc_loadpic.exe.asp
http://support.businessobjects.com/communityCS/FilesAndUpdates/scr8_vb_rdc_changeimages.exe.asp

An other solution:
use a crystal OLE object.

Greeting

Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top