Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / February 2005

Tip: Looking for answers? Try searching our database.

Addin Startup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chofra03 - 25 Feb 2005 21:23 GMT
Hi,

Recently I build a Addin application from scratch based on Addin application
source that I got on the internet.

While building, installing and starting the based Add-in in debug mode, once
the OnConnection method is called, while looking at the
Extensibility.ext_ConnectMode connectMode parameter, I got the ext_cm_UISetup
value each time the addin is launch for the first time.

With my Add-in application, I performs the same step as the based
application but I could not get the ext_cm_UISetup value for the
Extensibility.ext_ConnectMode connectMode parameter. I always got the
ext_cm_Startup.

Does anybody knows the solution to this problem or any related tip.

Thanks,
Signature

Francois Chouinard

Carlos J. Quintero [.NET MVP] - 28 Feb 2005 10:20 GMT
ext_cm_UISetup is fired only once in the life of the add-in and is used to
create UI commands (and permanent toolbars if you choose not to use
temporary toolbars) that must be created only once. So, normally you only
receive ext_cm_Startup, etc. but not again ext_cm_UISetup

There is a registry entry that it is modified when ext_cm_UISetup has been
fired, to not fire it again. It is documented in the MSDN help.

Signature

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com

> Hi,
>
[quoted text clipped - 17 lines]
>
> Thanks,

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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.