[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

VS2010 and Crystal Reports Loading Image at runtime

Posted on 2016-09-15
8
Medium Priority
?
147 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 2000 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In a previous article here at Experts Exchange (http://www.experts-exchange.com/articles/18414/Create-a-PDF-file-with-Contact-Sheets-montage-of-thumbnails-for-all-JPG-files-in-a-folder-and-each-of-its-subfolders-using-an-automated-batch-method.html)…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

649 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