Solved

VS2010 and Crystal Reports Loading Image at runtime

Posted on 2016-09-15
8
84 Views
Last Modified: 2016-09-20
Previously when using VB6 and Crystal Reports I was able to specify the contents of an image at runtime.  This allowed the invoicing app to use the customers letterhead loaded from a jpg on their pc.  I need to be able to achieve the same thing in VB.NET and Crystal Reports (VS2010) but it seems that I have to specify the image at design time rather than runtime.
0
Comment
Question by:keymac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 4

Expert Comment

by:Ariful Ambia
ID: 41801080
My advice to you not to use Crystal report any more. this product is taken over by SAP. you can use Microsoft Reporting.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 41801292
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 41801458
The image has the option to set the path at run time.

Create a string parameter for the report
You can pass the full path and image to the report using it.

Insert the picture object
Select a default image
Right click it
Click FORMAT GRAPHIC
Click the PICTURE tab
Click the FORMULA BUTTON
Formula will be
   {?ImageParameter}

mlmcc
0
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 

Author Comment

by:keymac
ID: 41805730
Unfortunately I don't have a FORMULA BUTTON on the PICTURE Tab
 Click the FORMULA BUTTON
 Formula will be
    {?ImageParameter}
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 41805824
What version of Crystal?

mlmcc
0
 

Author Comment

by:keymac
ID: 41805851
What version of Crystal?
 I'm using VS2010
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 41806524
DId you download the CR for Visual Studio?

mlmcc
0
 

Author Closing Comment

by:keymac
ID: 41807617
The second part of the project shows exactly how to use the blob column type to be used in the report and fits perfectly. Thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Use email signature images to promote corporate certifications and industry awards.
The goal of the tutorial is to teach the user the full work flow of how to use flash media encoder to stream onto YouTube.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question