Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: Crystal Reports + C# Post Reply Post New Topic
Author Message
ehy01
Newbie
Newbie
Avatar

Joined: 29 Jan 2009
Location: Brazil
Online Status: Offline
Posts: 20
Quote ehy01 Replybullet Topic: Crystal Reports + C#
    Posted: 15 Apr 2009 at 6:11am
Can anyone help me?
 
How can I change an Image (its an OLE Object) in a Crystal report using C#?
IP IP Logged
Imtiaz Ahmed
Newbie
Newbie
Avatar

Joined: 11 May 2009
Location: India
Online Status: Offline
Posts: 6
Quote Imtiaz Ahmed Replybullet Posted: 11 May 2009 at 11:19pm
Hi,
 
If you want to change the image at runtime.. this is possible in CR11....
there is a option when you add a picture in design mode right click it and goto Formta Object in the goto Graphic Location.. here you need to specify a parameter... and while runtime you need to pass the path of the image you want to change to this parameter.....
 
Hope this helps you...
 
Regards
 

 

IP IP Logged
ehy01
Newbie
Newbie
Avatar

Joined: 29 Jan 2009
Location: Brazil
Online Status: Offline
Posts: 20
Quote ehy01 Replybullet Posted: 12 May 2009 at 6:24am
Hi, thanks for answer
 
Im using the "Graphic Location", worked very well on VB6, but in C# did not work. The path is right, but nothing appears.
 
I read somewhere that the Visual Studio dont display external images, the programmer needs to enable it, at least in the Microsoft Report Editor (forgot the name).
 
I think there's a command for Crystal too.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.