Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 22nd, 2004, 01:51 AM
Registered User
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Alita
Default Dynamic images from VB .net to CR .net. Given Path

     Hi all!!!

     I'm trying to modify an image in an .rpt file, during runtime, programatically from VB .net; Preferably given its path.

     I've tried several approaches, as inserting an OleObject from a file and linking it... but it doesnt work for me. I've added a regular image in the .rpt and obtained a PictureObject in VB .NET, but I've not found a way to assign an image to that PictureObject.
Dim objImagen As CrystalDecisions.CrystalReports.Engine.PictureObje ct
objImagen = CType(repCliente1.ReportDefinition.ReportObjects.I tem("HeaderImg"), CrystalDecisions.CrystalReports.Engine.PictureObje ct)

     ... The point is to sort of customize the reports, changing the header to accept different logos, or assorted images to personalize it... I'm open to alternatives, ideas and suggestions.. plzplzplzplz, pleaze help me!!!!!


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation vb.net windows application with CR. saket123 .NET Framework 2.0 0 August 12th, 2008 11:44 PM
Dynamic Images in CR 4 .NET 2003 brettdalldorf Crystal Reports 0 February 9th, 2006 05:02 AM
dynamic image display in CR in asp.net mpkrishna Crystal Reports 0 March 29th, 2005 01:44 AM
CR in VB.Net Using Large Data Table seabiscuit Crystal Reports 1 July 7th, 2004 12:28 AM
Accessing a CR from VB.NET dimondwoof Crystal Reports 1 June 24th, 2003 10:27 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.