Solved

VB and Outlook Stationary

Posted on 2007-03-19
1
297 Views
Last Modified: 2012-08-13
Using vb and COM automation is it possible to programatically select stationery when adding a new message in ms Outlook? If so what is the code?
0
Comment
Question by:staritsj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 18747180
It's possible in a couple of ways.  First, the setting for the stationery used for new messages is stored in the registry at HKCU\Software\Microsoft\Office\(version)\Common\MailSettings\NewStationery where (version) is the version of Outlook (e.g. 9.0, 10.0, 11.0, etc.)  The value stored in this key is the name of the stationery in use without an extension.  You could change the value from code before creating a new message.  Second, you can read in any HTML file and apply it to the HTMLBody property of a new item.
0

Featured Post

Windows running painfully slow? Try these tips..

Stay away from Speed Up Computer Programs that do more harm than good.
Try these tips instead.
Step by step instructions in trouble shooting Windows Performance issues.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Read this checklist to learn more about the 15 things you should never include in an email signature.
In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question