A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Choose Use Office word 2003 to edit email messages leads to fails



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 17th 07, 05:58 AM posted to microsoft.public.outlook.program_addins
James Wang
external usenet poster
 
Posts: 2
Default Choose Use Office word 2003 to edit email messages leads to fails

All,

I have programmed addin for outlook 2003. The addin is used for encryption
and decryption of all mail message bodies. Commonly it does work well with
exception of using office word 2003 to edit email messages in tool options.
I tried to debug and find the root cause. Finally I found the
inSpection-get_commandbars can not work well.

Meanwhile, I do the tests on lots of PC. There is no failures in one PC
though I use the word 2003 to edit email messages. But others have still the
problem.

Please help me to resolve the problem.

Thanks and regards,
--
James
Ads
  #2  
Old December 17th 07, 03:45 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Choose Use Office word 2003 to edit email messages leads to fails

Where are you trying to get the CommandBars collection of the email, in
which event handler? It shouldn't be in NewInspector, it should be in the
first Inspector.Activate event handler.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"James Wang" wrote in message
...
All,

I have programmed addin for outlook 2003. The addin is used for encryption
and decryption of all mail message bodies. Commonly it does work well with
exception of using office word 2003 to edit email messages in tool
options.
I tried to debug and find the root cause. Finally I found the
inSpection-get_commandbars can not work well.

Meanwhile, I do the tests on lots of PC. There is no failures in one PC
though I use the word 2003 to edit email messages. But others have still
the
problem.

Please help me to resolve the problem.

Thanks and regards,
--
James


  #3  
Old December 18th 07, 02:38 AM posted to microsoft.public.outlook.program_addins
James Wang
external usenet poster
 
Posts: 2
Default Choose Use Office word 2003 to edit email messages leads to fa

Thanks for your reply.

Actually I use the VC to develop on Addin dll for outlook and dll can create
a new item "Security" on the menu of outlook item. Through clicking the menu
item, some operations will be executed.

In the code, through overriding the OnConnect and Invoke function to get the
appliaction and inspector pointer. Then _CommandBars will be got by using the
"Inspector-get_CommandBars" function, and the top menu is also got. The new
menu item will be added in the menu.

If I uncheck the "using the office word 2003 to edit email message" in the
Tool-options-mail format, the menu item will occur and the operations do
work well.

However the choose is checked, the menu will not occur. I found the word
menu will take place of the outlook menu and it maybe the root cause.

Please help me to resolve the problem.

Thanks and regards,
--
James


"Ken Slovak - [MVP - Outlook]" wrote:

Where are you trying to get the CommandBars collection of the email, in
which event handler? It shouldn't be in NewInspector, it should be in the
first Inspector.Activate event handler.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"James Wang" wrote in message
...
All,

I have programmed addin for outlook 2003. The addin is used for encryption
and decryption of all mail message bodies. Commonly it does work well with
exception of using office word 2003 to edit email messages in tool
options.
I tried to debug and find the root cause. Finally I found the
inSpection-get_commandbars can not work well.

Meanwhile, I do the tests on lots of PC. There is no failures in one PC
though I use the word 2003 to edit email messages. But others have still
the
problem.

Please help me to resolve the problem.

Thanks and regards,
--
James



  #4  
Old December 18th 07, 05:38 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Choose Use Office word 2003 to edit email messages leads to fa

Did you look at my answer at all? Where are you trying to get the command
bars, in what event handler? You should not use NewInspector if that's what
you're doing, you should be using the first Inspector.Activate event.

If you do things correctly you can add your own toolbar to the existing
commandbars of the WordMail Inspector. You can't modify the existing
toolbars.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"James Wang" wrote in message
...
Thanks for your reply.

Actually I use the VC to develop on Addin dll for outlook and dll can
create
a new item "Security" on the menu of outlook item. Through clicking the
menu
item, some operations will be executed.

In the code, through overriding the OnConnect and Invoke function to get
the
appliaction and inspector pointer. Then _CommandBars will be got by using
the
"Inspector-get_CommandBars" function, and the top menu is also got. The
new
menu item will be added in the menu.

If I uncheck the "using the office word 2003 to edit email message" in the
Tool-options-mail format, the menu item will occur and the operations do
work well.

However the choose is checked, the menu will not occur. I found the word
menu will take place of the outlook menu and it maybe the root cause.

Please help me to resolve the problem.

Thanks and regards,
--
James


  #5  
Old January 4th 08, 02:08 AM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 5
Default Choose Use Office word 2003 to edit email messages leads to fa

But is it possible to read the existing tool bars controls in a
WordMail Inspector?
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Use Word 2003 to edit e-mail messages" grayed out in Outlook 2003 [email protected] Outlook - General Queries 0 September 9th 07 08:39 PM
'edit messages in word' unchecks itself! lawsie Outlook - Installation 0 November 7th 06 10:46 PM
Word 2003 to Edit Email Issues Lee Schaeffer Outlook - General Queries 6 October 30th 06 01:57 PM
Adding a button when using word to display rtf messages fails james Add-ins for Outlook 4 August 13th 06 07:42 PM
Can't use Word to edit email with Office 2003 [email protected] Outlook - General Queries 6 February 15th 06 05:14 PM


All times are GMT +1. The time now is 08:17 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.