Just try out applicationObject.Events.*.. You have everything what you want? Just add this piece of code and do the rest. This piece is for selectionevents ...
Have you tried IDTExtensibility2.OnBeginShutdown ? Best regards, Carlos J. Quintero MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA You...
Hi, Has anyone seen an InvalidComObjectException "COM object that has been separated from its underlying RCW cannot be used"? It happens sometimes (not always)...
And how about this one? Exception Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Exception...
I have had this error, but as if I recall correctly, it was because I had called the Dispose method on the control in my tool window, but then accessed it...
Hi I am creating a tool window using Windows.CreateToolWindow2 command. I am able to open my tool window, able to do the functinality. But on disconnection of...
Hi I need something like this MyObject MyObj = new MyObject(); MyObj.Components.Add(mytype obj) How to achieve this in a class using indexers? Basically I want...
Is your question related to add-ins (the purpose of this group)? Best regards, Carlos J. Quintero MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6,...
I want to receive notification when a control is dropped onto a VS2003 form or component designer. How would I go about setting up events for this? Thanks in...
Basically you have to create an event manager class that hooks into and releases events from the top level down. Firsly you create an event handler to handle a...
You need to use the IComponentChangeService and its ComponentAdded event. See how to get the IDesignerHost and its services at: HOWTO: Manipulating controls of...
Hi, On my system (with a VS 2005 CTP or Release Candidate), there is a stdole.dll file with assembly version 8.0.0.0 (and file version 8.0.50727.26) in the...
Hi Carlos, I have had 4 versions of VS2005 installed on this machine at various times with the present version being the RTM release. The only stdole.dll in my...
Hi I am creating a tool window using Windows.CreateToolWindow2 command. I am able to open my tool window, able to do the functinality. But on disconnection of...
It's just occurred to me that one thing I've not had to do yet is add a context menu to a custom toolwindow in an add-in. We can of course use ordinary Win32...
Hi Anna, You must create a CommandBar (CommandBarPoup style) and then you call CommandBar.ShowPopup(x,y) in the MouseUp or MouseDown event of you control. Best...
Hi Andy, I have confirmed that, incredible as it sounds, Microsoft dropped that component from the .NET Framework between the Release Candidate and the RTM. I...
Hi I am right clicking on a project item which is excluded from the project. I have made on 'Show files' option and hence these items are visible in the...
Hi Wilson, ... AFAIK, if the the file is excluded it won´t be reachable through the Project.ProjectItems collection or ProjectItem.ProjectItems collection...
Hi, I have a addin setup application that build in VS 2005 Beta 2. It is working fine in Beta 2. But when I tried to install in VS 2005 final release, I am...
Hi, I am not sure about your problem, but your setup should install neither .NET Framework nor Windows Installer. They both are prerequisites of VS 2005, so ...
Hi there, suspose i've a setting for my project (defined by clicking on the propertys folder in solution explorer in vs2005, then clicking the settings tab...
Thanks Carlos, ... I thought it would be something like that...to be honest, I expected it to be more complex! Can you point me at any samples, by any chance? ...
I'm trying to wire up the TextEditor LineChanged event for an individual document. (It's actually an HtmlDocument) Can someone tell me what is wrong with my...
Hi there I had a very similar problem. It was caused by the object handling the events going out of scope. In your case _textEditorEvents will lose scope on...