CommandBars.Add() Fails When "Use Word To Read Rich Text" option is enabled

T

TPulley

Hi,

I have a COM Add-In that adds a CommandBar to every Inspector. (Office XP
sp2 is the target environment) The code works for all cases but one. When a
user opens a rich text email message (sent to them) and they have the "Use
MS Word to Read Rich Text Email Messages" option checked, the call to create
the CommandBar, CommandBars.Add(), fails with a return code of E_FAIL. I've
also tried changing the params and I even tried adding the CommandBar via
the WordEditor's CommandBars collection. Nothing seems to work. I haven't
found any KB articles on this. Any suggestions / help would be appreciated.

Thanks, Tim
 
R

Rohan Salt

HI Tim,

Not a fix, I am sorry to say... I am having the same
problem myself except it applies to WordMail in general..
(ie it fails in for all message types).. I have been doing
some testing from VBA as well and the Commandbars.Add()
with wordmail as the editor works ok so it only seems to
fail from a COM Add-in.

I have spent the last two days looks at MS, and other tech
support sites and like you have come up blank. If I do
find out anything else I will pass it along.

Regards

Rohan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top