Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / September 2003

Tip: Looking for answers? Try searching our database.

problem adding button to toolbar and .ecf file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
robert dugal - 25 Sep 2003 15:45 GMT
When using an ECF file my exchange client extension is
unable to install a button on the standard toolbar. The
code doesn't fail but the button doesn't get displayed.

If I remove the ECF file and use only the registry, the
button shows up.

Here is the contents of my ECF:

[General]
Display Name=test
Description=test
Path="test.dll"
Entry Point=1
Client Version=4.0
Misc
Flags=NoOptimizeInterfaceMap;MoreContexts;InstallCommandsEa
rly;WarnIfNoDLL;OutlookCommands

[Exchange Client Compatibility]
Exchange Registry=1
Exchange Extension Key="test"
Exchange Context Map=11111111111111
Exchange Interface Map=11111111

[Application]
Events=OnStartup;OnShutdown

[Session]
Events=OnLogon;OnLogoff;OnDelivery

[Property Sheet]
Events=AddPropSheetPages
Property Sheet
Dialogs=CustomFormOptions;Message;Store;Folder;ToolsOptions

[Folder]
Folder Class=IPF          
Views=Explorer;Viewer
Events=AllCommands;InstallCommands;AddPropSheetPages;Instal
l;OnFolderChange;OnSelectionChange
Menu
Drops=File;Edit;View;Insert;Format;Tools;Compose;Help;Main;
Toolbar;Contact;Calendar;Note;Task;Journal;FileFolder

[Item]
Message Class=IPM
Item States=Modal;NonModal;Read;Compose
Events=AllCommands;InstallCommands;OnItemChange;OnCommand;O
nCheckNames;OnCheckNamesComplete;OnRead;OnReadComplete;OnWr
ite;OnWriteComplete;OnSubmit;OnSubmitComplete;OnMenuDropDow
n;AddPropSheetPages;OnOpen;OnClose
Menu
Drops=File;Edit;View;Insert;Format;Tools;Compose;Help;Main;
Toolbar;Contact;Calendar;Note;Task;Journal;FileFolder
Dmitry Streblechenko - 25 Sep 2003 23:42 GMT
Regardless of what you have in an ECF file, your code must still  explicitly
create the button.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

> When using an ECF file my exchange client extension is
> unable to install a button on the standard toolbar. The
[quoted text clipped - 51 lines]
> Drops=File;Edit;View;Insert;Format;Tools;Compose;Help;Main;
> Toolbar;Contact;Calendar;Note;Task;Journal;FileFolder
robert dugal - 26 Sep 2003 02:45 GMT
My plugin does have code to create the button, as well as
some menus and property pages. The button code is based on
the sample CMDEXT. If I intall the plugin only through the
registry it works. But if I try to use an ECF (which I
must do to get OnOpen & OnClose events) the code appears
to succeed but the button does not appear. The plugin is
loading because my new menus do appear but the toolbar
button does not. I think something about the ECF is
preventing the button from displaying.
>-----Original Message-----
>Regardless of what you have in an ECF file, your code must still  explicitly
[quoted text clipped - 21 lines]
>> Client Version=4.0
>> Misc

Flags=NoOptimizeInterfaceMap;MoreContexts;InstallCommandsEa
>> rly;WarnIfNoDLL;OutlookCommands
>>
[quoted text clipped - 13 lines]
>> Events=AddPropSheetPages
>> Property Sheet

Dialogs=CustomFormOptions;Message;Store;Folder;ToolsOptions

>> [Folder]
>> Folder Class=IPF
>> Views=Explorer;Viewer

Events=AllCommands;InstallCommands;AddPropSheetPages;Instal
>> l;OnFolderChange;OnSelectionChange
>> Menu

Drops=File;Edit;View;Insert;Format;Tools;Compose;Help;Main;
>> Toolbar;Contact;Calendar;Note;Task;Journal;FileFolder
>>
>> [Item]
>> Message Class=IPM
>> Item States=Modal;NonModal;Read;Compose

Events=AllCommands;InstallCommands;OnItemChange;OnCommand;O

nCheckNames;OnCheckNamesComplete;OnRead;OnReadComplete;OnWr

ite;OnWriteComplete;OnSubmit;OnSubmitComplete;OnMenuDropDow
>> n;AddPropSheetPages;OnOpen;OnClose
>> Menu

Drops=File;Edit;View;Insert;Format;Tools;Compose;Help;Main;
>> Toolbar;Contact;Calendar;Note;Task;Journal;FileFolder
>
>.
Dmitry Streblechenko - 26 Sep 2003 20:19 GMT
Hmmm... I don't know - I never had any problems when I switched from
registry-only to ECF files...

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

> My plugin does have code to create the button, as well as
> some menus and property pages. The button code is based on
[quoted text clipped - 80 lines]
> >
> >.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.