Solved

VB and Outlook Stationary

Posted on 2007-03-19
1
290 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
1 Comment
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
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 …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now