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

OnStartupComplete()



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 29th 07, 01:37 PM posted to microsoft.public.outlook.program_addins
Yael
external usenet poster
 
Posts: 23
Default OnStartupComplete()

Hi,
I have a strange problem:
I created a com add-in for outlook 2003 in vs.net 2003 c#.
I installed this setup in 3 different computer, (toolbar add-in).
But in one of them I can't see me new add-in toolbar in the outlook.
I can see the eslse add-ins (like button add-in), but not this add-in
(toolbar).
In outlook:
tools--options--other--advance option -- I can see me com add-in toolbar!
but not in the pane..even not in right click for add/move toolbar name..

public void OnConnection(object application, Extensibility.ext_ConnectMode
connectMode, object addInInst, ref System.Array custom){
MessageBox.Show("OnConnection()");
applicationObject =
(Microsoft.Office.Interop.Outlook.Application)appl ication;addInInstance =
addInInst; if(connectMode != Extensibility.ext_ConnectMode.ext_cm_Startup)
{
MessageBox.Show("if(connectMode !=
Extensibility.ext_ConnectMode.ext_cm_Startup)");
OnStartupComplete(ref custom);
}
else
MessageBox.Show("else"); // in all the computers it's show this
}

public void OnStartupComplete(ref System.Array custom){
MessageBox.Show("OnStartupComplete()"); // It's not showing in the
"problem" computer!!!
CommandBars commandBars = applicationObject.ActiveExplorer().CommandBars;
}

In one computer I can see the toolbar add-in and I can see the
MessageBox.Show("OnStartupComplete()"); and MessageBox.Show("else");In the
problem else computer I can see only :MessageBox.Show("else");So ho is
calling to OnStartupComplete() if it is not inside to de if statment??

Thanking you in anticipation.


 




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


All times are GMT +1. The time now is 09:23 AM.


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.