How to load an image at run time dynamically using crystall report viewer and visual studio 2008?

Hi,

i am using crystal report 11 for designing reports, however i am programming in visual studio 2008 using crystal report viewer to load report at run time. I am storing image at a specific location in my computer and then loading it to crystal report 11.

it is working in crystal report 11 both designing time and loading time, however it is not loading during runtime  in crystal report viewer 9.0.

What are the solutions?

Thanks in Advance.
SCAAdminAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
one solution that will work for sure is to pass the image in a dataset. check http://www.emoreau.com/Entries/Articles/2006/10/Crystal-Reports--Part-II.aspx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
peter57rCommented:
Dynamic image location was new in CR11.  So i don't imagine that the V9 viewer would handle it.
mlmccCommented:
Agree with peter.

WHy are you using the CR v9 viewer for a CR XI report?

How are you loading the image?

mlmcc
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

SCAAdminAuthor Commented:
I am giving the path to image.
SCAAdminAuthor Commented:
Ok how to update crystal viewer to 11 in my visual studio 2008.
mlmccCommented:
Which edition of CR XI do you have?
Pro, or designer?

mlmcc
SCAAdminAuthor Commented:
it is professional
mlmccCommented:
You need the DEVELOPER edition to have the viewer you can embed in an application.

mlmcc
SCAAdminAuthor Commented:
how can i get that?
mlmccCommented:
You would have to upgrade through a reseller or SAP/Crystal.

mlmcc
SCAAdminAuthor Commented:
Is it free?
mlmccCommented:
NO.  It is a commercial product and requires licensing.

mlmcc
SCAAdminAuthor Commented:
Ok suppose i got developer version Then how can i embed it?
CodeCruiserCommented:
Éric MoreauSenior .Net ConsultantCommented:
have you seen my link to pass the image using a dataset?
mlmccCommented:
The embed method will work if you use the version of Crystal that comes with VS2008, however that is still based on CR10 so some features from a CR XI report may not be avaliable like dynamic parameters.

mlmcc
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.