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...
3561
Carlos J. Quintero
carlos_j_qui...
May 2, 2006 5:57 pm
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...
3562
staikfrite
May 3, 2006 8:38 am
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,...
3563
Carlos J. Quintero
carlos_j_qui...
May 3, 2006 8:46 am
Hi Stephane, The ISelectionService should notify you the selection changes. The properties window is updated automatically. Which is especifically your...
3564
staikfrite
May 3, 2006 9:32 am
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)...
3565
Carlos J. Quintero
carlos_j_qui...
May 3, 2006 9:49 am
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...
3566
Christian Weyer
cweyer74
May 3, 2006 6:05 pm
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...
3567
Carlos J. Quintero
carlos_j_qui...
May 3, 2006 6:10 pm
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....
3568
Christian Weyer
cweyer74
May 3, 2006 6:42 pm
Hi Carlos, thanks! I already knew it ;) Do you happen to have a sample in .NET - aka 'strongly typed'? Thanks, Christian...
3569
Carlos J. Quintero
carlos_j_qui...
May 3, 2006 10:18 pm
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...
3570
Christian Weyer
cweyer74
May 4, 2006 10:12 am
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...
3571
Carlos J. Quintero
carlos_j_qui...
May 4, 2006 10:33 am
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...
3572
Christian Weyer
cweyer74
May 4, 2006 10:48 am
There you go - wonderful! Thanks, as always :) Cheers, Christian ... some portions) and therefore it can be...
3573
Carlos J. Quintero
carlos_j_qui...
May 4, 2006 3:18 pm
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:...
3574
Mark
zoidberg2000
May 5, 2006 12:04 pm
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...
3575
Korth, Matthew
korthmat
May 8, 2006 7:59 pm
... 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,...
3576
avi_hrsh
May 10, 2006 12:13 am
Hello Here is the problem : I have a large solution with plenty of projects and folders. When ever I search something, I get results like ...
3577
Bonio Lopez
boniolopez
May 11, 2006 2:55 pm
Hi, is it possible to programatically access (change) options on the VS option pages? Thanks,...
3578
Peter Macej
absurdisti
May 11, 2006 3:01 pm
Yes. Use DTE.Properties. For example: Dim props As EnvDTE.Properties props = DTE.Properties("Environment", "Documents") Dim prop As EnvDTE.Property =...
3579
Carlos J. Quintero
carlos_j_qui...
May 17, 2006 1:46 pm
Just in case somebody is interested in participating: Submit your entry in one (or both!) of the following contest categories: - Add-ins (Templates, Starter...
3580
Carlos J. Quintero
carlos_j_qui...
May 17, 2006 2:01 pm
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...
3581
dennis_59542
May 18, 2006 2:29 pm
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...
3582
Phil Jollans
pjollans
May 21, 2006 8:51 pm
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...
3583
Carlos J. Quintero
carlos_j_qui...
May 21, 2006 11:12 pm
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...
3584
krissieboy2001
May 22, 2006 6:49 am
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...
3585
Carlos J. Quintero
carlos_j_qui...
May 22, 2006 8:01 am
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,...
3586
dennis_59542
May 22, 2006 11:35 am
Carlos, any ideas about this one? Thanks...
3587
Anna-Jayne Metcalfe
jalapenokitten
May 22, 2006 12:06 pm
Hiya, ... You can get hold of VCProjectEngine like this: EnvDTE::ProjectsPtr ptrProjects = pDTE->GetObject(L"VCProjects"); ...
3588
Carlos J. Quintero
carlos_j_qui...
May 22, 2006 12:13 pm
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...
3589
timores2
May 23, 2006 8:01 am
... with Web Services Enhancement 2.0, but ... exes, not by DLLs, so first confirm this ... This is correct. In .NET 1, if you use the ...