Word as a Editor in Outlook 2003

Add-in Express™ Support Service
That's what is more important than anything else

Word as a Editor in Outlook 2003
its not a addin express problem. 
Gürcan YÜCEL




Posts: 54
Joined: 2004-08-16
Hi,
Im developing MS Outlook and MS Office addins with D7 Ent+XP+Office 2003 and VCL2.2
Everything work fine. My Outlook add in works fine itself also Word Addin works fine itself. Thanks for the add-in Express.:)

If Im using Word as a Outlook editor, I had a problem. When I launch new email from outlook I had to detect its called from outlook and make invisible word toolbar and If Im opening Word, I had to enable Addin toolbar. Its possible I think but how.? Any idea?

Thanks.

Gürcan YÜCEL
Posted 13 Apr, 2005 04:24:24 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Gürcan,

When MS Word opens in Outlook there appears a special command bar named "Envelope" (as far as I remember). So detecting the presence or absence of this command bar you can determine where MS Word works.

Posted 13 Apr, 2005 07:57:10 Top
Gürcan YÜCEL




Posts: 54
Joined: 2004-08-16
Hi Dmitry,
You are as fast as usual. Thanks .:)

I had couple of question to your answer;

1.Is Localization changes the name of the toolbar?
2.How can I itarate the toolbars? Is there any example?
3.If user removed that toolbar, what can I do?
4.I think I had to put this code to activate event of MS Word addin? Is it true? Because user can switch between outlook and MS Word. Is addin loaded once or it loads every time with every document?
5.If answer is yes to q4, is it reasonable to iterate all toolbars when word get activate?

Thanks again.

Gürcan YÜCEL.
Posted 13 Apr, 2005 09:30:35 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Gürcan,

1. Localization changes the NameLocal property only
2. See the example below
3. Everything you need (leave it as it is or create a command bar anew)
4. You are absolutely right, see the example below
5. It is not reasonable, there is a better way, see the example below


http://www.add-in-express.com/projects/adx-word-with-outlook.zip

Posted 13 Apr, 2005 10:52:16 Top
Gürcan YÜCEL




Posts: 54
Joined: 2004-08-16
Thanks for the demo.
It works fine.:)
Posted 16 Apr, 2005 06:42:05 Top