473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How do I access CommandBars in VS2005 Add-In ?

Hi

I have used this code in an Add-In in VS2003 :

CommandBar mainMenu = cmdBars["MenuBar"];

Now I find in VS2005, that _DTE.CommandBars is a __ComObject and does not
work in this situation.

How do I get the collextion of CommandBars that I was expecting ?

I am using Version 8.0.40607.16 as supplied with MSDN

TIA

Joanna

--
Joanna Carter
Consultant Software Engineer
Nov 17 '05 #1
0 1012

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Curtis Conner | last post by:
Hi, not sure if this is the right group - if not please point me in the right direction New to vs2005. Trying to build a form using the data objects built by vs2005. In my data Source window i...
1
by: Ray Stevens | last post by:
Has anyone taken a look at SQL Express that is bundled with VS2005 beta2? There doesn't seem to be an Enterprise Manager with it. How do you add tables, etc.?
56
by: Rob Dob | last post by:
VS2005 is a PIECE of Garbage and is bug Ridden, I wonder how many others feel the same, I am so sorry that I have moved away from VS2003, VS2005 is unstable, and half the stuff doesn't work, ...
1
by: abc my vclass | last post by:
Is VS2005 debugger let me to see dataset, datatable data as table form? I found if I watch some table or dataset variable is very very hard to see. Is there any good tools or add-ins for debugger...
2
by: James Beswick | last post by:
My default menu in Access 2003 is completely missing. I've tried reset the toolbars and programatically enumerating all the toolbars/menus in order to revive it. I've also tried reinstalling Access...
0
by: GamaCom Argentina | Marcos Beccar Varela | last post by:
Hello, I have a VS2003 project, that was converted by VS2005 to that version. The problem is that sometimes, and I dont know why, the design view crashes, and I have to rebuild the project and...
6
by: Ronald S. Cook | last post by:
I have been asked to write a ..NET Windows app using the 1.1 framework. I have both 1.1 and 2.0 on my PC. When I create a new project in Visual Studio 2005, it shows initial namespaces under...
4
by: =?Utf-8?B?U3VzaGlTZWFu?= | last post by:
I have question about how create solution file for exist project? So I open vs2005, File->Open web site and select dir with my site. So this site loaded but it doesn't have solution. How I can...
2
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, I have Visual Studio 2005 Professional. I have been deploying VB2005 apps using "Click Once" which works great and will add .Net 2.0 framework where needed and adds all prerequisite...
3
by: JFKJr | last post by:
Hello everyone, the following is the code which opens an excel file and creates a toolbar button. And, when I click the toolbar button as shown at line #28, the code should call the "Example"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.