I
ivan.pololi
Hello,
I'm creating an add-in for Outlook and I need it to work both with
Outlook XP (2002) and Outlook 2007.
I created it using Microsoft Outlook 10.0 Object Library (Outlook
2002) and it works fine on Outlook XP.
When I execute it on Outlook 2007 it works ok but the events don't
fire. For example I have this piece of code but the Startup event
doesn't fire in Outlook 2007:
Private Sub outAppStartup() Handles outApp.Startup
Log("ActiveExplorerCBars.0")
ActiveExplorerCBars = outApp.ActiveExplorer.CommandBars
Log("ActiveExplorerCBars.1")
End Sub
What can I check? Is there another method for creating add-in for
multiple Outlook versions?
Thank you very much and Happy New Year!
Ivan Pololi
Italy
I'm creating an add-in for Outlook and I need it to work both with
Outlook XP (2002) and Outlook 2007.
I created it using Microsoft Outlook 10.0 Object Library (Outlook
2002) and it works fine on Outlook XP.
When I execute it on Outlook 2007 it works ok but the events don't
fire. For example I have this piece of code but the Startup event
doesn't fire in Outlook 2007:
Private Sub outAppStartup() Handles outApp.Startup
Log("ActiveExplorerCBars.0")
ActiveExplorerCBars = outApp.ActiveExplorer.CommandBars
Log("ActiveExplorerCBars.1")
End Sub
What can I check? Is there another method for creating add-in for
multiple Outlook versions?
Thank you very much and Happy New Year!
Ivan Pololi
Italy