473,387 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Creating an image file to be included in XML Report?

Hi,

I currently create an image on my form, using GDI ( It's a pie chart! )

I now need to save that image as a jpg ( On demand ) so that it can be used
in an xml report.

How can I do this? I can't see any way initially to do it, hope im wrong?

Rgds,
Dan
Nov 21 '05 #1
3 1059

XML is a text only data format.
You could have the address of your image, then reference this from some
report that you generate?

"Connor T" <ma********@hotmail.com> wrote in message
news:8Q****************@newsfe2-win.ntli.net...
Hi,

I currently create an image on my form, using GDI ( It's a pie chart! )

I now need to save that image as a jpg ( On demand ) so that it can be
used
in an xml report.

How can I do this? I can't see any way initially to do it, hope im wrong?

Rgds,
Dan

Nov 21 '05 #2

XML is a text only data format.
You could have the address of your image, then reference this from some
report that you generate?


Yes, thats precisely what I want to do. I want to generate the image, (
which ive already done on screen ), save it to jpg, and reference it in my
xml report??

Rgds,
Dan
Nov 21 '05 #3
<snip>
XML is a text only data format.
You could have the address of your image, then reference this from some
report that you generate?
</snip>

It is no problem to include an image in a xml file you can easily
encodebase64 the file ( binary to text ) include it and decode it on the
other side to make it a picture again


"Connor T" <ma********@hotmail.com> wrote in message
news:bc*****************@newsfe2-gui.ntli.net...

XML is a text only data format.
You could have the address of your image, then reference this from some
report that you generate?


Yes, thats precisely what I want to do. I want to generate the image, (
which ive already done on screen ), save it to jpg, and reference it in my
xml report??

Rgds,
Dan

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
3
by: Veetold | last post by:
I have a problem with displaying image files (jpg) on my report. I got a solution from Larry Linson (Microsoft Access MVP) for which I'm grateful, but I still don't exactly know how to link an...
1
by: Veetold | last post by:
The solution you suggested works very good - thanks again. I encountered a new problem related to this topic. According to your advise I put the following line to print and format event: ...
10
by: John Smith | last post by:
I know that uploading an image to a database has been covered, oh, about 3 trillion times. However, I haven't found anything covering uploading to a MySQL database with .net. Please don't...
0
by: BATISTA | last post by:
Hi , I am working in c# with crystal report XI. I read an example about dynamic image location .. 1) In that we have a xml xchema file with two fields n amed country--datatype is string,...
0
by: BATISTA | last post by:
Hi I have to program in C# such that I have to add a button to the form , and create a crystal report, by getting source from the xml schema file(.xsd file) with two fields namely...
8
by: Don Wash | last post by:
Hi There! I'm using CrystalReportsViewer control in my ASP.NET page to display the report. How do I increase the image quality of charts produced by Crystal Reports ..NET report file? Many...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.