473,394 Members | 2,048 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,394 software developers and data experts.

Anyone know how to save a document object to an email??

Siv
Hi,
I am developing an application that produces various printed reports. I use
my own custom print preview form and it works pretty well. What I'd like to
do to improve it is to allow the user to be able to either print the preview
like it does currently, or give them the option to attach it to an email
either to the main body of the email, or as an attachment. My thought being
that I could probably quite easily save the underlying document object as a
jpeg or convert it to some other format that could be embedded into an email
or as an attachment.

Has anyone tackled this before and come up with a preferred solution?

--
Siv
Martley, Near Worcester, UK.
Nov 21 '05 #1
2 976
Here's how to make an EML file & create multiple attachments:

http://www.planet-source-code.com/vb...=950&lngWId=10

Here a better example of the above:

http://www.planet-source-code.com/vb...2291&lngWId=10

I hope these are of some help

Crouchie1998
BA (HONS) MCP MCSE
"Siv" <ms**********@removeme.sivill.com> wrote in message
news:um**************@TK2MSFTNGP10.phx.gbl...
Hi,
I am developing an application that produces various printed reports. I use my own custom print preview form and it works pretty well. What I'd like to do to improve it is to allow the user to be able to either print the preview like it does currently, or give them the option to attach it to an email
either to the main body of the email, or as an attachment. My thought being that I could probably quite easily save the underlying document object as a jpeg or convert it to some other format that could be embedded into an email or as an attachment.

Has anyone tackled this before and come up with a preferred solution?

--
Siv
Martley, Near Worcester, UK.

Nov 21 '05 #2
Siv
Crouchie
Thanks for these links, very useful.
--
Siv
Martley, Near Worcester, UK.
"Crouchie1998" <cr**********@spamcop.net> wrote in message
news:uJ**************@TK2MSFTNGP12.phx.gbl...
Here's how to make an EML file & create multiple attachments:

http://www.planet-source-code.com/vb...=950&lngWId=10

Here a better example of the above:

http://www.planet-source-code.com/vb...2291&lngWId=10

I hope these are of some help

Crouchie1998
BA (HONS) MCP MCSE
"Siv" <ms**********@removeme.sivill.com> wrote in message
news:um**************@TK2MSFTNGP10.phx.gbl...
Hi,
I am developing an application that produces various printed reports. I

use
my own custom print preview form and it works pretty well. What I'd like

to
do to improve it is to allow the user to be able to either print the

preview
like it does currently, or give them the option to attach it to an email
either to the main body of the email, or as an attachment. My thought

being
that I could probably quite easily save the underlying document object as

a
jpeg or convert it to some other format that could be embedded into an

email
or as an attachment.

Has anyone tackled this before and come up with a preferred solution?

--
Siv
Martley, Near Worcester, UK.


Nov 21 '05 #3

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

Similar topics

1
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...
4
by: Iver Erling Årva | last post by:
I have an application that uses a window.open() to open it's own main window where all my programs takes place. I use a timeout so if nothing goes on for 15 minutes the document below is called. To...
1
by: rainbowii7 | last post by:
Calling all programmers for helllllllllllllllppppp!!! i am currently doing a uni degree and our lecturers have set us the task of making a game in JavaScript. i chose to do a hangman game and...
2
by: zheng | last post by:
ÇçÌì I have a word document and it has a picture object, I want save the picture object as other single picture file by C# program. I have a idea, by clipboard, copy the picture to clipboard, and...
8
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve. I am trying to take the contents of a textarea box...
14
by: salad | last post by:
XML seems to be a hot technology buzzword. And it appears XML is supported in A2003. I am wondering if it could be used in the following scenario. I create an order record for the customer. ...
7
by: Daniel | last post by:
what encoding does system.xml.xmldocument.save(string path) use to save the xml document if there is no <?xml... in the front of the xml document?
4
by: sufian | last post by:
Below is the field where user enters his/her email address and the AJAX post request is sent to the server and the user sees the message: echo("<div id=\"message\" class=\"success\">Thank you! You...
2
by: cleary1981 | last post by:
Hi, I have created a script in PHP thats generates an SVG image. Want I want to do is have PHP save this as example.svg. Can this be done? Heres my code <?php require "config.php"; $proj_id =...
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: 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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
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
tracyyun
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...

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.