Addin issue: OnConnection is not getting called
-
Hi, We have written a ATL COM addin for MS word. We have found that events are called for 1st instance of word document. When we open another document then no event is called. If we close all word docs and open a new word document again, event is generated. We futher digging we found that,for first instance OnConnection() is called, for 2nd , 3rd instance it is not called. Please help me out. regards RYK
-
Hi, We have written a ATL COM addin for MS word. We have found that events are called for 1st instance of word document. When we open another document then no event is called. If we close all word docs and open a new word document again, event is generated. We futher digging we found that,for first instance OnConnection() is called, for 2nd , 3rd instance it is not called. Please help me out. regards RYK
-
VC_RYK wrote:
Please help me out.
With what? You think we can make word fire the events when documents are opened? This is Code Project not the Magic Shop.
led mike
Hi From This link u can get the code http://support.microsoft.com/kb/230689 and this works only for a single document which open first but i want to work for every document. With regards RYK