Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hosted image in VBScript Outlook Signature

Status
Not open for further replies.

apsrbstar

IS-IT--Management
May 21, 2014
1
GB
Hi all. I have been tasked with what seems to be an old favorite for VBScript writers - a logon script for Outlook signatures. I have raided gurner's script from with a few tweaks.

The problem I am having is that, sometimes, when replying, regardless of the received email's format, the image get's stripped out and replaced with a standard html red cross. I have made the image clickable using some code i pilfered from somewhere.

Here is the relevant code:
Logo = "\\fs01\users\homes\emp\signature_logo.jpg"
objSelection.InlineShapes.AddPicture(Logo)
objSelection.TypeParagraph
objDoc.Hyperlinks.Add objDoc.InlineShapes.Item(1), "
I am using Outlook 2000 on a Server 2003 machine.

I appreciate the solution to my issue may exist in Outlook settings, however, I would like to use a hosted image anyway, so it can change dynamically when the hosted image is changed. I vainly hope that this will magically fix the issue with replies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top