Carlos, I tried exacly what you suggested and reproduced the problem with VS 2002. It appears to be a problem with a clash of GUIDs and so the solution is to...
Dennis, Is this what you are after? Dim win As Window = _DTE.Windows.Item (EnvDTE.Constants.vsWindowKindFindResults1) Dim sel As TextSelection = win.Selection ...
Carlos, Just had another thought. My AddIn loads the ToolWindow during the OnConnection event and I don't have the lockup problem. I wonder if this gets in...
John, Try using SetProcessWorkingSetSize(Process.GetCurrentProcess.Handle, -1, -1) Which is a Kernal function which would need to be decalred with Declare...
Oz, I thought that but I spent a long time with memory profilers trying to find out why one of my AddIns was using large amounts of memory. Every object I...
There is also a known issue that causes the IDE not to release memory allocated by forms designers until you close it. So, if your addin opens all designers of...
Well, at last you could reproduce it. I am not sure if using new GUIDs each time is a good solution. It seems that the IDE uses that GUID to remember location,...
First, let me apologize that I didn't have the time to read your article in full. But let me risk making a fool of myself by repeating what you might already...
I'm new to this thread; but what are the advantages/disadvantages of using xtremesimplicity2003 vs the MS controlhost? thanks, ... allows you ... therefore...
1) It is more simple (less files and less code) 2) It allows you to set the scope of Usercontrols to Friend (Internal) instead of Public, that way they are not...
Oz, I agree with what you say. Going back to the original problem which was excessive memory usage when running an AddIn, I think we need to clarify wether...
I haven't followed this whole thread but there was an issue with the 1.0 framework with memory allocations greater than 1 meg not being freed up correctly even...
thanks Carlos. I notice using the MS version there is not a way to "Kill" the toolwindow. Once created, even if I attempt to kill the window object, it just...
Yes. Thank you. Also, I notice that the dte.find.execute is an asnyc process when using dte.find.action = vsFindAction.vsFindActionFindAll. To keep your code...
Vince, I'm coming in in the middle, so I don't know the entire history. Here's my two-cents worth. You're doing a vsFindAction.vsFindActionFindAll (which is...
I used XSShimGen.exe to create the com shim control. And i have two questions. 1. When using the shim control and when the tool window is docked with and...
FYI-- I get the same result in VS 2003 if i load the add-in, open the tool window (via shim control), make sure its undocked, close the tool window, then try...
Sorry about this, but i have a little more info for my first question. The Window obj has a SetTabPicture method that takes an object of type IPictureDisp....
John, See my msg 1219 (http://groups.yahoo.com/group/vsnetaddin/message/1219) There are other ways which involve resource DLLs or if you do not need it...
Hi Vince, Thanks for this class. I would suggest you to update it for support for Option Strict On, which should be used always, and will not harm if you have ...
I am unable to reproduce this case, and it would cause so havoc in addins that it would have been noticed before, I think. Maybe you have something special in...
Hi, For those of you who like me create small addins frequently for some tests (toolwindows, transparency issues, etc) and are tired of setting Option Strict...
Hi John, Carlos, I've not noticed this - we certainly open and close our toolwindows all the time. Is there any chance we can see the code that executes when...
Hi Jeremy, There is nothing special with the code, you can reproduce it with the code generated by your tool: 1) Run the tool and generate a shim control and...
Jeremy, I had to stop using the shim because it locked up when setting an object in the properties window using, _ToolWindow.SetSelectionContainer(New Object()...
Carlos, Agreed, I only created the class as I took it out of some other code I had. It is only really an example. As for Option Strict, I never have it...