|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Sticking a pictureI am wondering if I just want to stick a picture on an email, remember not
attaching to it, is it possible to do this in outlook? In outlook express, you can choose from sticking or attaching a picture, but in VBA, can you programmatically sticking it on an email?.... I tried this for attaching before With oAttachment(0) .filepath = "C:\123.gif" ...... end with Could anyone help? Thanks Jack See http://www.outlookcode.com/d/code/htmlimg.htm
-- Show quoteHide quoteSue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Jacky Luk" <j*@knight.com> wrote in message news:e8$mMyv5EHA.1296@TK2MSFTNGP10.phx.gbl... >I am wondering if I just want to stick a picture on an email, remember not > attaching to it, is it possible to do this in outlook? In outlook express, > you can choose from sticking or attaching a picture, but in VBA, can you > programmatically sticking it on an email?.... > I tried this for attaching before > With oAttachment(0) > .filepath = "C:\123.gif" > ...... > end with > Could anyone help? > Thanks > Jack > > It would have to be done using HTML code in the HTMLBody property of the
item, the reference to the picture must be local or you'll get that red X where the picture should be and all collections in Outlook such as Attachments start at index 1, not 0. -- Show quoteHide quoteKen Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Jacky Luk" <j*@knight.com> wrote in message news:e8$mMyv5EHA.1296@TK2MSFTNGP10.phx.gbl... > I am wondering if I just want to stick a picture on an email, remember not > attaching to it, is it possible to do this in outlook? In outlook express, > you can choose from sticking or attaching a picture, but in VBA, can you > programmatically sticking it on an email?.... > I tried this for attaching before > With oAttachment(0) > .filepath = "C:\123.gif" > ...... > end with > Could anyone help? > Thanks > Jack > >
Other interesting topics
Can Outlook.Application be used to control open message windows?
Controlling Outlook from Word VBA - PROBLEM... Win32 API Timer - crash Outlook VBA - Need to grab SMTP address, not Contact Name Late Binding to Outlook from Excel: Outlook modifies email body Inspector CommandBarButton with Word as Mail Late binding to Outlook via VBA Can't set Outlook Express as the default mail client how to retrieve message from an Inbox other than my primary one? Open mail in olFolderSentMail with Extended MAPI or Automation |
|||||||||||||||||||||||