I've search around endlessly for a solution to this problem but have
not found anything yet.
I'm using Crystal 9 with .NET. I am not using a DSR to create the
report. Instead I am creating a report at run-time, using a .ttx file
and using a DataSet as the source.
My problem is that I want to dynamically change an image (user's pic)
on the report based on the user parameter.
Opening up the Crystal Designer does not give me much. I added my OLE
object (Bitmap Image or Image Document) to the form, but there is no
way to specify the source of the image!
Ideally I'd like to pass a file path that specifies the OLE object
source location, but I'll take anything now. I could pass a blob
through the Dataset, but even still, there doesn't seem to be a way to
associate the blob with the OLE object. Has anyone done this before?
Thanks,
ed 1 3110
Does anyone know how to do this? or is it even possible? I've also
tried to add the following in my ttx:
employee_img blob 5000000 blob sample value
is this even how i'm supposed to put a blob in a ttx? I'm not sure
about the size or the sample value fields. Anyways, I pulled this
blob in the crystal report and whenever i run the report, the OLE
object disappears, regardless of what i send.
On the VB side, i assign the datacolumn as follows:
Dim imgTemp As System.Drawing. Image
imgTemp = System.Drawing. Image.FromFile( "c:\pig.jpg ")
drRow("employee _img") = imgTemp
There are no compile or runtime errors, however the OLE object never
shows up with or without the image.
any ideas?
ed le****@hotmail. com (Ed) wrote in message news:<cf******* *************** ****@posting.go ogle.com>... I've search around endlessly for a solution to this problem but have not found anything yet.
I'm using Crystal 9 with .NET. I am not using a DSR to create the report. Instead I am creating a report at run-time, using a .ttx file and using a DataSet as the source.
My problem is that I want to dynamically change an image (user's pic) on the report based on the user parameter.
Opening up the Crystal Designer does not give me much. I added my OLE object (Bitmap Image or Image Document) to the form, but there is no way to specify the source of the image!
Ideally I'd like to pass a file path that specifies the OLE object source location, but I'll take anything now. I could pass a blob through the Dataset, but even still, there doesn't seem to be a way to associate the blob with the OLE object. Has anyone done this before?
Thanks, ed This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DD |
last post by:
Hello,
Could anyone please help me??
Is there somebody who could explain me how to make a connection to a access
database with a python cgi script.
I would like to use common sql commands in my python scripts as I can with
MySQLdb.
But I cannot even connect to the access database (see below).
Could anyone explain it to me as simple as possible please. I'm using
Windows XP, ActivePython 2.3.2 build 230 and Microsoft access(XP?)
|
by: Sam |
last post by:
Hello everyone,
I have a table, which contains a picture column, I put URL info into it.
"www.myweb.com/1.jpg..."
I want to show this picture in my crystal report, I find
some samples show the "static" picture in Crystal report,
No "Dynamic" one.
Can Crystal Report do that?
Thanks in advance.
Sam
|
by: JOSEPHINE ALVAREZ |
last post by:
I have this code that I want to use to do a rollover. However, because the
company I am doing it for is continually changing the text, I want to be
able to use dynamic text to change the text on the fly, and still have the
rollover work. I have taken the text off of the buttons, but cannot figure
out how to do it with dynamic text using javascript and html.
For example, in the columns of this row, I want to put "About...
|
by: sleigh |
last post by:
Hello,
I'm building a web application that will build a dynamic form based
upon questions in a database. This form will have several different
sections that consist of a panel containing one to many questions.
To keep it simple, I'll describe the basics of what I'm trying to
design.
I've created a TextBox composite control that consists of a label for
|
by: moondaddy |
last post by:
I have an app where users will upload photos to their shopping cart. When
they review their cart I need to include a light weight thumbnail of the
image they uploaded. how can I take the image a user uploaded (PixOfMom.jpg
at 600k) and convert it to a thumbnail and put into the image url of a .net
image control using vb.net 1.1?
Thanks!
--
moondaddy@nospam.com
| |
by: Ed |
last post by:
I've search around endlessly for a solution to this problem but have
not found anything yet.
I'm using Crystal 9 with .NET. I am not using a DSR to create the
report. Instead I am creating a report at run-time, using a .ttx file
and using a DataSet as the source.
My problem is that I want to dynamically change an image (user's pic)
on the report based on the user parameter.
|
by: sharonrao123 |
last post by:
hello all,
I have a parent gridview company and in this one a nested gridview people, Is it possible to allow the user to select one row or multiple rows from the people gridview using a check box and also get the datakey (in my case personid) of the the rows selected. Please point me in the right direction. This is what i have so far but i have problem accessing the child gridview in the button click event
Cheers, Shilpa.
<asp:GridView...
|
by: loveshack |
last post by:
Can anyone help me please (i am quite a novice, but having fun learning). Im not sure if this is an ASP problem, a javascript problem or a browser problem.
Firstly, everything i have written works fine in IE7 and beta IE8. My pages do not work however in Safari or Firefox, and please dont beat me, but i use Frontpage to write my site, and i use iframes as ive not discovered how to do this any differently!
So the issue is this, i have a...
|
by: Kelly Bert Manning |
last post by:
I didn't get any hits when I searched deja for
DSN1COPY dynamic allocation
so either everyone else had no trouble realizing that this happens or
nobody else has ever come across it.
I've used DSN1COPY for years for moving data between z/OS subsystems for
testing, and for refreshing tables from Image Copies for regression testing.
Developers seem to find it less confusing to use the same JCL to move data
between 1 of 14 test...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| | |