Search
Resolved
as External Help for as External

1
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Suggestion
ID: 493247
Opened: 9/29/2009 3:51:14 AM
Access Restriction: Public
0
Workaround(s)
I am doing some kind of research on VS Shell 2010 and trying to explore the services provided by Shell.

I am able to add a custom toolbar into Shell through VS Package and added a combobox into that custom toolbar. Now I am trying to fill that combobox reading values from xml file. I also have a button after combobox which will give the element being selected in the combobox (after clicking on button).

How do I get reference to this combobox from my VS PACKAGE? Or is there any other way to achieve this.
Details (expand)

Technology

 
File Attachments
0 attachments
Sign in to post a comment.
Posted by zazam on 11/6/2009 at 11:23 AM
Hello Arujit,

Sorry for the delay in responding - First, I wanted to make sure you were aware of an SDK sample specific to Combo Boxes that we just finished updating for Visual Studio 2010 Beta 2: http://code.msdn.microsoft.com/ComboBox (Not many updates to the sample from previous versions, but there were some changes to the project references, etc.)

I’m going to pass along your question to a developer on the team who should be able to answer your exact question. In future you will probably get a quicker response if you post questions such as this to the following forum: http://social.msdn.microsoft.com/Forums/en-US/vsxprerelease/threads

Thank you,
Suzanne Hansen, Program Manager, Visual Studio Platform Shell Team
Posted by zazam on 11/13/2009 at 12:24 PM
Hello Arujit,

Just to follow-up on this - the sample I suggested you take a look at should answer your question. Please note that working with combo boxes through DTE has some reduced functionality for Visual Studio 2010. (Working with packages, is unchanged, I believe.) CommandBarComboBox has a number of depricated functions, so you will not be able to do what you want through Add-Ins.

Thank you,
Suzanne Hansen, Program Manager, Visual Studio Platform Shell Team