Exporting CSV File generated, into memory stream  
Author Message
DuppyMann





PostPosted: Visual Studio Tools for Office, Exporting CSV File generated, into memory stream Top

Hi guys, i want to do an export Using dts and then getting back the results in a memory stream and then attach to an email... i am using visual studio 2003 .. any suggestions would be great !

Visual Studio Tools for Office23  
 
 
Mike Morton - MSFT





PostPosted: Visual Studio Tools for Office, Exporting CSV File generated, into memory stream Top

Did you make any progress on this issue

Mike


 
 
John R. Durant - MSFT





PostPosted: Visual Studio Tools for Office, Exporting CSV File generated, into memory stream Top

DuppyMann,

You cannot write attachments to an Outlook item directly from a stream. You must always go to file, then load from file. In like manner, you cannot read ann attachment directly to a stream. You need to save the item first, then read it from disk. It's just the way things are.

Here are links to more resources that will help you:

http://blogs.msdn.com/johnrdurant/archive/2005/12/07/vsto-outlook-resourcelist.aspx

jrd