A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Explorer has been closed



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 31st 06, 05:52 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 1
Default Explorer has been closed

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

Ads
  #2  
Old October 31st 06, 07:44 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Explorer has been closed

Get them in the first Explorer.Activate event. Lots of things aren't
available yet in NewExplorer or NewInspector.

--
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


wrote in message
ups.com...
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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dialog when OE is Closed PixelKing Outlook Express 4 October 9th 06 03:43 AM
Outlook changes settings when it is closed Maxim Outlook - Installation 1 September 23rd 06 05:48 AM
OE opens by itself and won't stay closed! Hummingbird Outlook Express 10 September 10th 06 09:50 AM
Email hyperlinks open Windows Explorer, not Internet Explorer M Skabialka Outlook - General Queries 2 July 7th 06 10:39 PM
outlook doesn't closed well David Cebrian Add-ins for Outlook 7 February 14th 06 09:06 PM


All times are GMT +1. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.