Solved

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

Posted on 2006-11-10
3
718 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
[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
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Progress

623 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