Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / July 2006

Tip: Looking for answers? Try searching our database.

Convert Outlook.Attachment to Byte() array

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steller - 26 Jul 2006 19:46 GMT
Is there a way to convert an attachment to a byte array without saving it to
a  directory first and then reading it into a stream?  I would like to
convert it in code and save straight to the database skipping the SaveAsFile
part.

I'm developing a VSTO outlook add-in for outlook 2003 SP2.
Dmitry Streblechenko - 26 Jul 2006 21:48 GMT
Not using the Outlook Object Model or CDO 1.21.
<plug>Redemption (url below) exposes Attachment.AsArray property which
returns/set the attachemnt data as a variant array</plug>

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

> Is there a way to convert an attachment to a byte array without saving it
> to
[quoted text clipped - 4 lines]
>
> I'm developing a VSTO outlook add-in for outlook 2003 SP2.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.