Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 17th, 2006, 03:20 PM
Registered User
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default xml binary file to ADO stream

What I am trying to do is that I will store an email template on the server-side, which may contain attachments(any types), when a user wants to send an email, the server will return a XML file contains all of the information about this email. After parsing the XML, I will send an email using "CDO.Message" object with javascript. I have resolved all of the problem besides the attachment.

How can I covert a binary file from the XML file (which is string) to an ADO Stream object? I have tried Stream.Write/Stream.WriteText, but none of these are working. Does anyone have any idea how to do that?


 
Old March 17th, 2006, 03:33 PM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Perhaps this post will help:
http://p2p.wrox.com/topic.asp?TOPIC_...rms=xml,stream

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert Word files into Binary Stream kesar C# 4 March 28th, 2007 04:43 AM
XML binary file to ADO stream object clk1022 ASP.NET 2.0 Professional 0 March 16th, 2006 10:31 PM
XML binary file to ADO Stream object clk1022 VB.NET 1 March 16th, 2006 10:23 PM
plus '+' replace by space " " in binary stream rupakb XML 0 October 26th, 2004 11:35 AM
biztalk convert a binary file to XML izakref Biztalk 0 March 15th, 2004 09:07 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.