A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Inserting a picture in the message body of a custom form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 8th 06, 09:54 PM posted to microsoft.public.outlook
groom
external usenet poster
 
Posts: 1
Default Inserting a picture in the message body of a custom form

Trying to insert a company logo in the body of a custom form I've
created for our company. Here is the format that I'm trying:

Sub Item_Send()
Dim Message
Message = "Here is our company logoP"
Message = Message & "IMG SRC=PICTURE LOCATION"
Item.HTMLbody = Message
End Sub

The image source is currently on my desktop for now, though I plan to
put it on our server once I've been able to successfully load the
picture. I'll send the email to myself but I just get the "X" when I
open it. Is there a problem with the format or is it not successfully
accessing the picture?

  #2  
Old February 8th 06, 10:08 PM posted to microsoft.public.outlook
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Inserting a picture in the message body of a custom form

Adding an embedded image to an HTML-format image takes quite a bit of additional effort. See http://www.outlookcode.com/d/code/htmlimg.htm for sample code.

Also, I hope you're not planning to use this custom form to send to people who don't use Outlook. That's a sure way to ensure they won't be able to read any attachments.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"groom" wrote in message oups.com...
Trying to insert a company logo in the body of a custom form I've
created for our company. Here is the format that I'm trying:

Sub Item_Send()
Dim Message
Message = "Here is our company logoP"
Message = Message & "IMG SRC=PICTURE LOCATION"
Item.HTMLbody = Message
End Sub

The image source is currently on my desktop for now, though I plan to
put it on our server once I've been able to successfully load the
picture. I'll send the email to myself but I just get the "X" when I
open it. Is there a problem with the format or is it not successfully
accessing the picture?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting Email Signature Talia Outlook - General Queries 2 March 6th 06 08:03 PM
Attachment does not show on header but in message body when create new email Johnny Chow Outlook - General Queries 2 January 30th 06 10:47 PM
Outlook opens Form as Email message, not Form [email protected] Outlook - General Queries 2 January 26th 06 09:54 PM
Animated Picture NoushadTK Outlook - General Queries 1 January 24th 06 12:57 PM
Custom Task Fields Milly Staples [MVP - Outlook] Outlook - General Queries 0 January 7th 06 06:07 PM


All times are GMT +1. The time now is 04:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.