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 / Extensibility / February 2006

Tip: Looking for answers? Try searching our database.

CommandBarPopup in Visual Studio 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thomas Mueller - 30 Jan 2006 10:18 GMT
Hi,

(sorry for my englisch, i am german)

in the MSDN Knowledge Base has Carlos J. Quintero write a article for creating a CommandBarPopup command in Visual Studio .NET 2003. It works and the artikle is a good Away.
Now in VS2005, i thought it become differently and better. Why do i have to delete this CommandBar- Control (CommandBarPopup) in OnDisconnection? The Command is exist wehn i close and re- open the VS2005. Can i not use this exist command ?

THX for all answers.

TOM_MUE
www.tom-mue.de
Martin de Jong - 31 Jan 2006 21:28 GMT
If you would disable the addin in the Addin Manager, the commandbar would
stay and show, but wont work. Just looks sloppy.  Further next time u
connect u sh retrieve the existing bar, otherwise u get two bars:)

ML

Hi,

(sorry for my englisch, i am german)

in the MSDN Knowledge Base has Carlos J. Quintero write a article for
creating a CommandBarPopup command in Visual Studio .NET 2003. It works and
the artikle is a good Away.
Now in VS2005, i thought it become differently and better. Why do i have to
delete this CommandBar- Control (CommandBarPopup) in OnDisconnection? The
Command is exist wehn i close and re- open the VS2005. Can i not use this
exist command ?

THX for all answers.

TOM_MUE
www.tom-mue.de
Thomas Mueller - 01 Feb 2006 09:47 GMT
Hi Martin,

> If you would disable the addin in the Addin Manager, the commandbar would
> stay and show, but wont work. Just looks sloppy.

OK, I understand that. Is there a way to deactivate the CommandBarPopup
object to prevent the user from using it?

> Further next time u connect u sh retrieve the existing bar, otherwise u
> get two bars:)

How can i retrieve the existing CommandBarPopup-Object?

TOM_MUE

> ML
>
[quoted text clipped - 14 lines]
> TOM_MUE
> www.tom-mue.de
Martin de Jong - 01 Feb 2006 18:19 GMT
I just delete the command bar or the button on disconnecting

> Hi Martin,
>
[quoted text clipped - 29 lines]
>> TOM_MUE
>> www.tom-mue.de
Carlos J. Quintero [VB MVP] - 02 Feb 2006 09:21 GMT
Hi Thomas,

You can take two approaches with commandbars and buttons in VS.NET 2003/VS 2005 (there are no differences between both in this regard):

- To use permament commanbars and buttons: they load faster but they stay even if you unload the add-in in the Add-in Manager, which can confuse the user and for this reason most add-ins do not buy this approach.

- To use temporary commandbars and buttons: the opposite approach.

There are several HOWTO articles about this on my web page:

http://www.mztools.com/resources_vsnet_addins.htm

Signature

Best regards,

Carlos J. Quintero

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

 Hi,

 (sorry for my englisch, i am german)

 in the MSDN Knowledge Base has Carlos J. Quintero write a article for creating a CommandBarPopup command in Visual Studio .NET 2003. It works and the artikle is a good Away.
 Now in VS2005, i thought it become differently and better. Why do i have to delete this CommandBar- Control (CommandBarPopup) in OnDisconnection? The Command is exist wehn i close and re- open the VS2005. Can i not use this exist command ?

 THX for all answers.

 TOM_MUE
 www.tom-mue.de

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.