Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Installing stationery (http://www.outlookbanter.com/outlook-vba/24273-installing-stationery.html)

John August 18th 06 01:52 AM

Installing stationery
 
Hi

I have custom stationery in the form of an html file. I need to send it to a
client and need to give them an easy way to install on each pc. Is there a
way I can do this such as send them a batch file or script that when run
automatically copies the html file in the current user's stationery folder
and if possible also set it to be the current stationery in outlook?

Thanks

Regards



Eric Legault [MVP - Outlook] August 18th 06 06:09 PM

Installing stationery
 
It's certainly possible, but decidedly non-trivial to automatically deploy a
signature to another user's Outlook profile and copy the signature file to
the correct location.

First, all signatures are stored in the C:\Documents and
Settings\username\Application Data\Microsoft\Signatures folder. So you'd
need to know or retrieve in code the Windows account name of the currently
logged on user in order to batch deploy and .rtf, .htm or .txt signature
files.

Secondly, there is some sample code that illustrates how to designate a
particular signature as the default:

OutlookCode.com :: Outlook Code Samples :: Outlook Expert Techniques :: Set
email account signature in Outlook 2003:
http://www.outlookcode.com/codedetail.aspx?id=821

However, you'd still need to implement this code into a distributable and
generic enough solution for installation or execution on another PC. This
last requirement would pretty much kill your goal as it would be far too much
effort. Best to attach the signature to an e-mail and instruct the user how
to change the default signature through Outlook settings.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"John" wrote:

Hi

I have custom stationery in the form of an html file. I need to send it to a
client and need to give them an easy way to install on each pc. Is there a
way I can do this such as send them a batch file or script that when run
automatically copies the html file in the current user's stationery folder
and if possible also set it to be the current stationery in outlook?

Thanks

Regards





All times are GMT +1. The time now is 10:17 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com