Solved

VBScript change outlook mail format editor from HTML to Rich Text in the registry

Posted on 2006-11-10
3
715 Views
Last Modified: 2013-12-13
Guys,

    How do you change outlook mail editor from HTML to Rich Text in the registry editor with vbscript?


Many thanks,
Maj
0
Comment
Question by:Majusri
  • 2
3 Comments
 
LVL 4

Expert Comment

by:dasmcse
ID: 17920111
This should do it:

Const HKEY_CURRENT_USER = &H80000001
strComputer = "."      ' local computer

Set objRegistry = GetObject _
    ("winmgmts:\\" & strComputer & "\root\default:StdRegProv")

strKeyPath = "Software\Microsoft\Office\11.0\Outlook\Options\Mail"
strValueName = "EditorPreference"
intValue = 196609

errReturn = objRegistry.SetDWORDValue _
    (HKEY_CURRENT_USER, strKeyPath, strValueName, intValue)
0
 
LVL 4

Accepted Solution

by:
dasmcse earned 250 total points
ID: 17920113
I should have mentioned that the above script is for Office 2003.
0
 

Author Comment

by:Majusri
ID: 17930357
Thanks but do they have log off outlook in order for the change to take place.

Thanks
0

Featured Post

Industry Leaders: 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

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

679 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