Solved

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

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article will show, step by step, how to integrate R code into a R Sweave document
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

762 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

21 Experts available now in Live!

Get 1:1 Help Now