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 / October 2006

Tip: Looking for answers? Try searching our database.

Explorer has been closed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
janni.kajbrink@hotmail.com - 31 Oct 2006 17:52 GMT
I am trying to register a new item in the menu when the user opens a
new window in Outlook. When I'm accessing any property in the new
Explorer a COMException is thrown. I'm developing using VSTO 2005 SE
and the version of Outlook is 2003.

The exception is thrown when I'm trying to access the CommandBars
property on the Explorer object.

Private Sub m_Explorers_NewExplorer(ByVal Explorer As
Microsoft.Office.Interop.Outlook.Explorer) Handles
m_Explorers.NewExplorer

    Dim o As Office.CommandBars = Explorer.CommandBars

End Sub

/Janni
Ken Slovak - [MVP - Outlook] - 31 Oct 2006 19:44 GMT
Get them in the first Explorer.Activate event. Lots of things aren't
available yet in NewExplorer or NewInspector.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

>I am trying to register a new item in the menu when the user opens a
> new window in Outlook. When I'm accessing any property in the new
[quoted text clipped - 13 lines]
>
> /Janni
 
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.