views:

7

answers:

0

Im trying to load an image in a local reportviewer report from the applications root directory.

I can't seem to work out how to reference the applications root directory without hard coding it.

What do I use for the value of the picturebox to get an image from the root/base directory of the application?

I've tried something like:

="file://" & AppDomain.CurrentDomain.BaseDirectory & "\image.jpg"

but it doesn't seem to work.