Solved

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

Posted on 2006-11-10
3
708 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

920 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

15 Experts available now in Live!

Get 1:1 Help Now