|
-
March 9th, 2010, 05:53 PM
#1
Retrieve image from SQL Server Database
Hello all
I want to read the byte data I have stored in a database which represents an image. I then want to apply this image as the picture of a Contact in Outlook. I am trying to use the getBytes() method but I am unsure of how to do this.
I have the code below so far.
'folder' is a custom folder I have created in Outlook separately. It stores the contacts.
Outlook.ContactItem newContact =
(Outlook.ContactItem)folder.Items.Add
(Outlook.OlItemType.olContactItem);
newContact.Attachments = reader.GetBytes(<some parameters to be added>);
any help is much appreciated
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|