Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: OLE objects Post Reply Post New Topic
Author Message
derach2000
Newbie
Newbie
Avatar

Joined: 02 Sep 2008
Location: Bosnia Hercegovina
Online Status: Offline
Posts: 3
Quote derach2000 Replybullet Topic: OLE objects
    Posted: 02 Sep 2008 at 1:07am
Hello,
 
I have a report with some linked OLE objects. I have a problem with the OLE path that can't be changed at runtime.
 
Is there a way of creating an OLE object at runtime, or should I just create
a temp folder to put the image..
 
Regards
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 09 Sep 2008 at 4:11pm
Which version of Crystal are you using?  Are you using OLE just for images or for other types of OLE objects?  Can you add a table to your database where you can store the image path?
 
If you're using XI or 2008, your objects are just images, and you can store the image path, you can insert an "Image" instead of an "OLE Object" into your report and set the path to the image file based on a field in your data.  You may also be able to set the path this way using a parameter to the report (I haven't tried this, though...)
 
-Dell
IP IP Logged
derach2000
Newbie
Newbie
Avatar

Joined: 02 Sep 2008
Location: Bosnia Hercegovina
Online Status: Offline
Posts: 3
Quote derach2000 Replybullet Posted: 09 Sep 2008 at 11:58pm
Hello,
 
I'm using just the embeded one that comes with the visula studio 2005. I also have access to crystal 7.0 but that's not much help :-)
 
OLE is just for pitures.
 
As you see I'm stuck, untill we upgrade our development software.
 
Thank you for your reply
Best regards
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.015 seconds.