Hi! I am trying to write an add-in for Visual Studio 2005. My add-in should take action just before a code file is saved. I have tried: _applicationObject.Events.getDocumentEvents(null).DocumentSaved += handler , but that is too late. This event is raised after the document has been saved.
I have also tried to loop through the almost 3000 commands in _applicationObject.Commands: foreach(Command com in _applicationObject.Commands) _applicatoinObject.Events.get_CommandEvents(com.Guid, com.ID).BeforeExecute += handler ,but no event is raised just before a file save. =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
