Solved

VS2010 and Crystal Reports Loading Image at runtime

Posted on 2016-09-15
8
50 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
8 Comments
 
LVL 4

Expert Comment

by:Ariful Ambia
Comment Utility
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 69

Accepted Solution

by:
Éric Moreau earned 500 total points
Comment Utility
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
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
 

Author Comment

by:keymac
Comment Utility
Unfortunately I don't have a FORMULA BUTTON on the PICTURE Tab
 Click the FORMULA BUTTON
 Formula will be
    {?ImageParameter}
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
What version of Crystal?

mlmcc
0
 

Author Comment

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

Expert Comment

by:mlmcc
Comment Utility
DId you download the CR for Visual Studio?

mlmcc
0
 

Author Closing Comment

by:keymac
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article discusses the PaperPort 14 Scanner Connection Tool, which Nuance provides at no charge in order to fix scanning problems in Windows 8. Furthermore, users of PaperPort 14 in Windows 7 and Windows 10 have reported that the tool works in t…
In a previously published article (http://www.experts-exchange.com/articles/10331/Automatic-Duplex-Scanning-in-PaperPort-Versions-11-12-14.html) here at Experts Exchange, I explained how to achieve duplex (double-sided) scanning in Nuance's PaperPor…
In this Micro Tutorial viewers will learn more advanced shortcuts and functions in InDesign.
The goal of the tutorial is to teach the user how to import photos into Adobe Lightroom efficiently and to keep everything organized.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now