MSWord 2000 events
-
Plain and simple has anyone got : Quit, DocChange to work? Now I've been using ATL IDispEventImpl with Word 97 with no problems what so ever. I have changed the import libraries: #import "r:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\MSO9.DLL" rename("RGB", "WordRGB") rename("DocumentProperties", "WordDocumentProperties")raw_interfaces_only #import "c:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\VBA\VBA6\VBE6EXT.OLB" raw_interfaces_only #import "r:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\MSWORD9.OLB" rename("ExitWindows", "WordExitWindows") rename("FindText", "WordFindText") raw_interfaces_only The version and the new interface ApplicationEvents2 IDispEventImpl and I have tried the MSoft sample ms-help://MS.MSDNQTR.2002JAN.1033/vcsample/html/vcrefATLEventHandlingSample.htm but even that doesnt work :( Oh and I have given myself permissions to the Word Document component via Dcomcnfg so I can launch Word. So basically I can launch word - load Docs etc no probs however I cant get my app to respond to any events - has anyone been able to do this with Word 2000? and how plz :)