Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   How to turn off "Use MS Word to edit email message" in MS Outlook VB (http://www.outlookbanter.com/outlook-vba/52981-how-turn-off-use-ms.html)

[email protected] July 20th 07 04:02 PM

How to turn off "Use MS Word to edit email message" in MS Outlook VB
 
Hi everyone,

I'm looking for a way to uncheck "Use MS Word to edit email message"
in MS Outlook programatically. Does anyone know the code in VB??
Thanks.


Eric Legault [MVP - Outlook] July 20th 07 05:02 PM

How to turn off "Use MS Word to edit email message" in MS Outlook
 
That setting isn't exposed in the object model, but it is stored in the
registry:

Eric Legault My Eggo : Outlook's Message Format Settings In The Registry:
http://blogs.officezealot.com/legaul...8/03/1324.aspx

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


" wrote:

Hi everyone,

I'm looking for a way to uncheck "Use MS Word to edit email message"
in MS Outlook programatically. Does anyone know the code in VB??
Thanks.



[email protected] July 20th 07 05:33 PM

How to turn off "Use MS Word to edit email message" in MS Outlook
 
Hi Eric, Thanks for your clarification.

Anyway, do you know the VB code or API code to edit the Outlook
registry programatically in order to uncheck that Word Editor option?
Could you please show me?

And also will there be any risk of changing the Outlook registry??

Your help will be deeply appreciated. Thanks..


Eric Legault [MVP - Outlook] July 20th 07 07:44 PM

How to turn off "Use MS Word to edit email message" in MS Outl
 
Try this control:

vbAccelerator - Complete Registry control:
http://www.vbaccelerator.com/home/VB...ol/article.asp

There are plenty of other registry wrapper classes available - just Google
and you'll find more.

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


" wrote:

Hi Eric, Thanks for your clarification.

Anyway, do you know the VB code or API code to edit the Outlook
registry programatically in order to uncheck that Word Editor option?
Could you please show me?

And also will there be any risk of changing the Outlook registry??

Your help will be deeply appreciated. Thanks..



[email protected] July 20th 07 10:15 PM

How to turn off "Use MS Word to edit email message" in MS Outl
 
Thanks a lot....Eric


[email protected] July 20th 07 10:52 PM

How to turn off "Use MS Word to edit email message" in MS Outl
 
Hi Eric,

One last question. Sorry for keep asking. Well, I'm new to registry
editing, I just want to make sure the code is right before running it
as i don't want to ruin the registry system. So, based on the
cRegistry class and the Outlook registry key link you sent me before,
please help me to verify the following code if i want to set the MS
Outlook editing mode from Word to HTML only.



Dim c As New cRegistry

With c
.ClassKey = HKEY_CURRENT_USER
.SectionKey = "Software\Microsoft\Office\11.0\Outlook\Option s
\Mail"
.ValueKey = "EditorPreference"
.ValueType = REG_DWORD
.Value = 131072
End With



I appreciate your help...



All times are GMT +1. The time now is 12:22 PM.

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