PDA

Click to See Complete Forum and Search --> : Setting an external Image


daviddoria
Jan 2nd, 2009, 08:51 AM
I am trying to set the value of the image to


="file:///logo.jpg"


It works if I put that directly into the "value" field in the rdlc layout. However, if I create a "paramImage" string parameter and set it like this


Dim ImageParam As String
ImageParam = "=""file:///logo.jpg"""
MsgBox(ImageParam)
paramList.Add(New Microsoft.Reporting.WinForms.ReportParameter("paramImage", ImageParam))


it doesn't work, it just shows the red X.

What am I doing wrong?

Thanks,
Dave