DuppyMann

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 !

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

Mike Morton - MSFT

Did you make any progress on this issue

Mike





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

John R. Durant - MSFT

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