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