Solved

VS2010 and Crystal Reports Loading Image at runtime

Posted on 2016-09-15
8
105 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 101

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
Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

 

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 101

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 101

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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Adults who share images on social media aren’t the only ones who need to worry about their privacy. Our culture’s tendency to share every move and celebration affects the privacy of our children, too.
The goal of the tutorial is to teach the user how to use import presets downloaded from the internet into Adobe Lightroom. Once you downloaded the presets go into the preset folder and press import then import your preset and your set it to go.
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

696 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