drscape

Hi all!

I am having troubles coding some stuff on my outlook plugin. I'm using a shared office plugin on VS but i think this is the right section to put the post

1st In outlook toolbar you can see a CommandBarPopup that has a icon. How can i set a icon on a CommandBarPopup I tried adding a button with the popup caption before the popup and loose the popup caption but when the popup is clicked the area bellow the button i created is not filled so im not satisfied with the solution. Is there any way to fix this Can i use begingroup to acheive this

2nd Can i place a icon on outlook status bar How

3rd How should i proceed if i wish to add a windows tray icon everytime my plugin is started

4th How do you update outlook items. I mean if you have a item that has been changed somewhere else (over the internet for example) and my addin wants to update the reference of the item how should i proceed I have the item id, but if i delete the item and create a new one the item id will be changed and that's not good for the funcionallity i except.

5th Is there a easy way to enable support for windowsxp theme in my add-in forms. I found this but it is a rather complicated way as i know nothing about manifest files (http://support.microsoft.com/default.aspx/kb/830033)

Thanks in advance for all the cooperations!






Re: Visual Studio Tools for Office 5 Outlook questions (CommandBarPopup, StatusBar, TrayIcon & updating items)

Sue Mosher - Outlook MVP

1) The built-in control you see is actually a CommandBarSplitPopup, which is not available to developers. A CommandBarPopup does not support icons. There's no real workaround that I know of.

2) You can't do anything programmatically with the Outlook status bar, except turn it on/off.

3) Not really an Outlook or VSTO question. I'd start with my favorite search engine.

4) Call the Save method on the item.

5) As far I understand it (which isn't far at all), it *is* rather complicated. You might want to start a new topic thread specifically on that issue. The version of Outlook that you're targeting is a critical factor, so don't forget to mention it.





Re: Visual Studio Tools for Office 5 Outlook questions (CommandBarPopup, StatusBar, TrayIcon & updating items)

drscape

It's sad that all the things i wanted to use from outlook and couldn't aren't acessible to users. Outlook status bar seems to be the most useless thing in the world, and can't be programmed. The way i solved the issue with the commandbarpopup was inserting a icon with no caption before the control btw.

About using outlook with xp themes, I am not targetting any version of outlook. Currently im coding for 2003 but i will have to extend the code to 2000, 2003 and 2007 as it is in the project rsd

Anyway thanks for the awnser.




Re: Visual Studio Tools for Office 5 Outlook questions (CommandBarPopup, StatusBar, TrayIcon & updating items)

Andrei Add-in Express

First off, VSTO doesn't support Outlook 2000 and XP add-ins.

I'd recommend you to check out the Add-in Express site (www.add-in -express.com) devoted to COM Add-in development using proprietary .NET components (Office 2000+). The base is Add-in Express .NET that provides components for customizing the Office UI. There are also two plug-ins: ADX Extensions .NET for Microsoft Outlook (allows embedding custom .NET forms into Outlook Explorer and Inspector windows. No status bar cusomization, though.) and Toolbar Controls .NET for Microsoft Office (allows customizing Office command bars with .NET controls). Seems, these plug-ins can help you solve your problems #1 and #2. As to #3 and #5, you can google them out.

Note, Add-in Express will support Office 2007 in a week or so.





Re: Visual Studio Tools for Office 5 Outlook questions (CommandBarPopup, StatusBar, TrayIcon & updating items)

drscape

I have resolved the windows xp theme subject by simply migrating the project to VSTO.

Anyway, the main problem i have is not being able to use the status bar and that can't be fixed by any other than microsoft itself right

Anyway thanks for the tips Andrei, and congratulations for add-in express as it seems to be a terrific tool. :)