473,396 Members | 2,140 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,396 software developers and data experts.

Question regarding writing a Visual Studio.NET add-in....

I'm trying to create a Visual Studio.NET Add-in. I'm using the wizard
provided by VS.NET. I have Visual Studio.NET Enterprise Architect
edition and I've selected New->Projects->Other Projects->Extensibility
Projects->Visual Studio.NET Add-in.

After walking through the wizard it appears I have an add-in skeleton.
In the OnConnection event handler I have:

---
Command command = commands.AddNamedCommand(addInInstance, "MyAddin1",
"MyAddin1", "MyAddin1 description", true, 59, ref contextGUIDS,
(int)vsCommandStatus.vsCommandStatusSupported+(int )vsCommandStatus.vsCommandStatusEnabled);
CommandBar commandBar = (CommandBar)commandBars["Tools"];
CommandBarControl commandBarControl =
command.AddControl(commandBar, 1);
---

Following this code I added a dialog popup to indicate that the add-in
is loaded:

---
System.Windows.Forms.MessageBox.Show("Add-in MyAddin1 successfully
loaded");
---

I've done a debug build and I ran the installer that was generated by
the wizard. So I assume the add-in is installed and this is confirmed
when I open a new instance of VS.NET I can browse to Tools->Add-in
Manager and I see MyAddin1 listed, but when I check the box for
"Startup" and click "Ok" nothing happens. My message box never shows
up and I don't see an item for "MyAddin1" in the tools menu.

Where to next?
Nov 15 '05 #1
0 1073

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

Similar topics

1
by: Rene Muench | last post by:
Hi everyone, Newbie is wondering after he has up graded to Visual studio.net 2003, if Visual studio.net 2003 requires a different setup?? Most of the test application aren't working anymore. I...
1
by: Rene Muench | last post by:
Hi everyone, Newbie is wondering after he has up graded to Visual studio.net 2003, if Visual studio.net 2003 requires a different setup?? Most of the test application aren't working anymore. I...
33
by: John Timbers | last post by:
I'd like to purchase Visual C# .Net for learning purposes only since it's a lot cheaper than Visual Studio (note that I'm a very experienced C++ developer). Can someone simply clarify the basic...
2
by: Stephen | last post by:
Sorry folks but this is going to seem like a really silly question i'm sure but here goes. Do the different versions of Visual Studio use different versions of ASP.NET. E.g - Does Visual Studio...
19
by: Alf P. Steinbach | last post by:
// As usual the error message directs one to the report the bug. // // And as usual there is absolutely no way to do so without paying for // the privilege... // // Or using three or four hours...
1
by: Daniel A. Thomas | last post by:
License required Maybe you don't have this but have one of the products that qualifies for the upgrade such as ... Visual Studio .NET 2003 Professional Visual Studio .NET 2003 Professional...
0
by: Ryan | last post by:
I have been developing an ASP.NET application using Visual Studio 2003 and MSDE. While developing the application, I can easily add or delete database tables, stored procedures, etc. Recently, I...
2
by: BolineC | last post by:
I created a server control (very simple) and am trying to move it to a common server so that the other developers can add it to their visual studio "toolbox" and start using it. The problem that...
5
by: dougdoc | last post by:
We are exploring doing some development with MS Visual Studio 2005 to access our DB2 UDB for Windows databases. Are there any other options to accessing DB2 with Visual Studio that may be more...
5
by: Bob | last post by:
Hi, I have some very simple code that I have been using for quite a while that uses a streamwriter to write to a network file. I have never had any problems with it. I recently updated Visual...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.