Hi, I want to add a method to my AddIn that will build a collection of file names and line numbers that contain my searchString. My idea is to populate a...
... You could perform a regular expression search on the files without using Visual Studio automation. For C++ there is the boost regex library. ... Thierry...
Did you ever figure out a way to persist the state of your Tool Window? I'm using a different shim (heck, I don't even know which one) and everytime I launch...
I have an add-in that searches through the projects in a solution for specific files and processes them accordingly. We have command-line based tools that do...
You could have multiple named output windows. For example a thread can create a window pane and write to it. The panes are listed in the drop down box in the...
Hello I'm working on an AddIn for VS2005 and I have a command that installs a couple of buttons and menus, and at some point I want to remove them all for ...
Tom, Kind of. It's still flaky but much better than it used to be. I've added tool window creation call to OnStartupComplete(). I've also added tool window's...
Try using EditPoint.SmartFormat(TextPoint) to format the section of text that you have inserted (or the whole procedure, etc.) Best regards, Carlos J. Quintero...
Hi, Basically there are 3 approaches to make an add-in for VS.NET 2003 and VS 2005: 1) To have a single source code and to compile to a single binary using ...
You can add references through code casting Project.Object to VSLangProj.VSProject and the calling VSProject.References.Add, but if you want to show the...
Hi David, If you want maximum performance, you have to skip the automation model and search directly on the files (similar to the Find in Files feature of VS)....
Hi, - CommandBar.Controls returns a CommandBarControls collection object, which lacks the Delete method that you are talking about. - If you refer to the...
Hi Christian, I have returned today from my vacations (just in case it has not been noticed with the bunch of messages that I have answered today). About your...
Hi all, After several months busy, Craig posted a new entry in his blog a couple of weeks ago. There are some very interesting things for VS 2005 add-in ...
Hi Craig, A couple of us in the Yahoo forum noticed (see message #2039: http://groups.yahoo.com/group/vsnetaddin/message/2039) that multiple copies of the...
Hi Carlos, ... Well we just had to be different. <grin> One of our add-ins will quite happily compile on either VS2003 or VS2005 (I haven't tried it on VS2002,...
Thanks for your answers. One more question. In this code: protected void removeToolbar(ref CommandBar bar) { if (bar != null) { bar.Visible = false; ...
Sorry, if this has already been asked/answered already, but... I am developing an add-in that could add a new web form to an ASP.NET project, and populate it...
See messages #2763 and #2554 and related. Best regards, Carlos J. Quintero MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA You can...
Hola Gustavo, - Commands.RemoveCommandBar should be used only with permanent commandbars, created with Commands.AddCommandBar. As I said, I do not use...
... As Carlos wrote, you should use CommandBar.Delete to delete the temporary CommandBar. But I can confirm, that COM exception is thrown in VS 2005 beta2...
Hi Anna-Jayne, Ah, you are the brave one using C++/ATL for your add-in.... ;-) Well, yours are good news because some people will certainly want a single ...
Ummm..., now you make me doubt. Maybe I also saw crashes deleting commandbars using the Beta 2, but I am not sure now. There were so many crashes and problems...
... Temporary command bars go away anyway when you close VS, so why bother to calling Delete on them? I prefer to use the temporary controls and commandbars...
... You're right, temporary commandbars created in old VB6 way disappear automatically. But there is a bug in VS 2005 beta2 so I cannot use them. I have to...