?
Solved

VB and Outlook Stationary

Posted on 2007-03-19
1
Medium Priority
?
301 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 1500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Mailbox Overload?
In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
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…

719 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