|
-
Mar 13th, 2003, 04:35 AM
#1
Thread Starter
Addicted Member
i am using vb.net and crystal reports for visual studio.net
please can you show me the way to display a image that is created at runtime in a report, this picture will be named after the user that logs in and can be different each time they create the report
i am using vb.net and crystal reports for visual studio.net
thanks,
v.URGENT
Tom
-
Mar 13th, 2003, 07:06 AM
#2
Member
Just a few more details would help.
Eagle Eye
"Programming is easy ... when you are done."
-
Mar 13th, 2003, 07:18 AM
#3
Frenzied Member
you can manipulate text objects of crystal reports at run time but I couldn't find a way to change the PictureObjects imag source. So you may define a field in a table containing those images and add it to your report. so changing the pic in the table will affect your report. Tell me if you found another way, am curious to know.
-
Mar 13th, 2003, 07:19 AM
#4
Thread Starter
Addicted Member
i have a web application created with vb.net
this application can be access by many different users at the same time
each user select various options and runs a query to retrieve data from an inSQL server
depending on what they have defined a teeChart line chart image is created and stored in the application folder on the server named [username].jpeg
a crystal report is created and the data retrieved is displayed in the report
i don't want to use the line chart from crystal reports.
i need to display the image that has been created within the report.
both the report and the image are created at runtime.
there must be a way of creating an OLE object and defining it to the sertver.mappath(username).jpeg file.
i know that is possible with different versions of crystal reports using the RDC (Report Design Component).
BUT I AM USING CRYSTAL REPORT FOR VISUAL STUDIO .NET!
can it be done?
thanks
Tom
ps, only shouting because this is becoming v. URGENT and i can't find a way!
please help, if you need any more info just ask
thanks again.
tom
-
Mar 13th, 2003, 07:38 AM
#5
Frenzied Member
This is only an untested raw idea, no warranty to work 
.Test to see if it helps you.
VB Code:
Dim graph As New CrystalDecisions.Web.HtmlReportRender.CrystalHtmlTextWriter(Web.HtmlReportRender.HtmlOutputSchema.Html32)
graph.Write("<img border='0' src='The_Path_To_Your_Pic_File' width='400' height='400'>")
Last edited by Lunatic3; Mar 13th, 2003 at 08:33 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|