Hi, I am creating an addin for Word. I made it with the help of extensibility project of VS2003. when I am building it I am getting an build error(COM Interop...
Surely that's a reference used in your add-in project, but I have never heard about it... Best regards, Carlos J. Quintero MZ-Tools: Productivity add-ins for...
Hi, Everybody knows that when you have a winform or a webform in design mode and the property window visible, each time you select an object (control, picture,...
Hi Stephane, The ISelectionService should notify you the selection changes. The properties window is updated automatically. Which is especifically your...
Hi Carlos, All I want to do is the following: 1) you create your add-in with the assistant. You say that you want a "Tools" menu item. 2) you add a winform. 3)...
Hi, 1) You should use a toolwindow instead of a windows form. VS does not like modeless Windows forms, only likes modal forms. 2) The ISelectionService has...
Hi guys, I am looking for a way to create solutions and projects outside of Visual Studio. Any idea? Also, I need to add to and remove files from the projects...
Hi Christian, See my article: HOWTO: Automating Visual Studio .NET from outside the IDE http://www.mztools.com/articles/2005/MZ005.htm Best regards, Carlos J....
You can add a reference to EnvDTE.dll. To create an instance you can use Activator.CreateInstance(...) instead of CreateObject and cast the result object to...
Hi Carlos, via the COM registration info in the registry the ProgID "VisualStudio.DTE" points to devenv.exe which is an unmanaged piece of code. You can verify...
Hi Christian, Visual Studio is an unmanaged application (not .NET-based except some portions) and therefore it can be managed only through COM Automation. You...
Hi all, I have posted some new articles with bugs/problems of VS 2005 for add-in developers on my web site. The first one is of interest for everybody: PRB:...
HI, I am new to writing add-ins, I am trying to access $(SolutionDir) and $(InputName) Visual Studio variables within my add-in, and having a hard time...
... In my case, I needed to evaluate $(TargetPath). What I found was that you needed to handle it differently depending on the kind of project (C#, VB.NET,...
Yes. Use DTE.Properties. For example: Dim props As EnvDTE.Properties props = DTE.Properties("Environment", "Documents") Dim prop As EnvDTE.Property =...
Just in case somebody is interested in participating: Submit your entry in one (or both!) of the following contest categories: - Add-ins (Templates, Starter...
Hi, I posted some weeks ago about Visual Studio 2005 Web Application Projects, a new kind of Web projects for VS 2005 with the old model of VS.NET 2003 Web...
I added App.config to my add-in project, and configured in it some settings for Web Services Enhancement 2.0 component, but none of these settings seem to take...
Hi, I am able to get hold of an IDesignerHost interface for a web form as Carlos has described in http://www.mztools.com/articles/2005/MZ004.htm. Using the...
Hi Phil, I donīt have the answer to this question but it happens that I have my own problem that when solved it may help you too. I have noticed that on the...
I'm writing a native c++ addin for VS 2003, but I can't figure out how to get a ptr to the VCProject or VCProjectEngine interfaces. Does anyone have an example...
Not sure, but try casting EnvDTE.Project.Object() to VCProject. Best regards, Carlos J. Quintero MZ-Tools: Productivity add-ins for Visual Studio You can code,...
Not many ideas, otherwise I would have answered. I am not familiar with Web Services Enhancement 2.0, but AFAIK, although I may be very wrong, the config file...