Click here to Skip to main content
16,010,416 members
Home / Discussions / COM
   

COM

 
QuestionHow to make an ActiveX control can be copied and pasted in a Richedit control Pin
gxulg22-Mar-05 17:30
gxulg22-Mar-05 17:30 
GeneralGet text on screen Pin
levgiang22-Mar-05 0:31
levgiang22-Mar-05 0:31 
QuestionHow to make ICopyHook work ? Pin
khan++21-Mar-05 0:43
khan++21-Mar-05 0:43 
AnswerRe: How to make ICopyHook work ? Pin
khan++21-Mar-05 23:01
khan++21-Mar-05 23:01 
GeneralRe: How to make ICopyHook work ? Pin
Jörgen Sigvardsson22-Mar-05 4:37
Jörgen Sigvardsson22-Mar-05 4:37 
GeneralActiveX and events Pin
DaSharmXXX120-Mar-05 20:59
sussDaSharmXXX120-Mar-05 20:59 
GeneralParse Remote SSL Certificate Pin
AZinNC18-Mar-05 9:10
AZinNC18-Mar-05 9:10 
GeneralProblem with Word 2003 COM Add-in. Pin
Johannes Ackermann17-Mar-05 23:29
Johannes Ackermann17-Mar-05 23:29 
I have written a COM add-in for Word, Excel and PowerPoint. It adds a new menu with three items to each of these applications. The menu items simply add a certain phrase to the header of the active document.

In Excel and PowerPoint it works perfectly. In Word it also works perfectly, but only on the first instance of Word. I.e. if I open Word for the first time it works, but if I then click the “New” button (which pretty much starts another instance of Word) my menu items do nothing. If I Alt-Tab back to the first document, it works again.
If I go to Tools-Options and uncheck the “Windows in Taskbar” option on the “View” tab, the problem is gone and my add-in works perfectly regardless of which document is active. In Excel and PowerPoint it is not necessary to change this option.

This confuses me terribly, because it is the exact same code that executes for all the applications. I even changed my click event to simply show a message box (no reference to the application objects) and it still doesn’t work!

I don’t want to force my client to disable the “Windows in Taskbar” option in order to use this add-in. What must I do differently in Word to make it behave like the other two applications?

Any advise or suggestion will be GREATLY appreciated!

Johannes Ackermann
GeneralRe: Problem with Word 2003 COM Add-in. Pin
Johannes Ackermann23-Mar-05 23:14
Johannes Ackermann23-Mar-05 23:14 
Generalsimulating new com server Pin
grinder17-Mar-05 20:53
grinder17-Mar-05 20:53 
GeneralCOM,OLE,AUTOMATION,ActiveX Pin
Muhammad Azam17-Mar-05 19:22
Muhammad Azam17-Mar-05 19:22 
QuestionHow to capture mouse events on MS Word Document? Pin
ajalilqarshi17-Mar-05 4:08
ajalilqarshi17-Mar-05 4:08 
AnswerRe: How to capture mouse events on MS Word Document? Pin
vishalmore21-Mar-05 23:56
vishalmore21-Mar-05 23:56 
QuestionHow to Handle Menu event? Pin
ajalilqarshi17-Mar-05 4:04
ajalilqarshi17-Mar-05 4:04 
GeneralDCOM vs .Net Remoting Pin
schilled16-Mar-05 22:24
schilled16-Mar-05 22:24 
QuestionWhy IPersistStreamInitImpl::Load Method is not called? Pin
ajalilqarshi16-Mar-05 21:23
ajalilqarshi16-Mar-05 21:23 
AnswerRe: Why IPersistStreamInitImpl::Load Method is not called? Pin
Jörgen Sigvardsson20-Mar-05 8:54
Jörgen Sigvardsson20-Mar-05 8:54 
GeneralDllRegisterServer entry point not found Pin
For_IT16-Mar-05 18:17
For_IT16-Mar-05 18:17 
GeneralRe: DllRegisterServer entry point not found Pin
User 21559716-Mar-05 22:36
User 21559716-Mar-05 22:36 
GeneralCOM wrapping a dll Pin
Member 180792916-Mar-05 13:18
Member 180792916-Mar-05 13:18 
GeneralRe: COM wrapping a dll Pin
rwestgraham17-Mar-05 9:54
rwestgraham17-Mar-05 9:54 
GeneralRe: COM wrapping a dll Pin
Member 180792917-Mar-05 10:21
Member 180792917-Mar-05 10:21 
GeneralRe: COM wrapping a dll Pin
Member 180792917-Mar-05 10:29
Member 180792917-Mar-05 10:29 
Questionhow to store data read from a binary file in an activeX Ctrl's property? Pin
ajalilqarshi16-Mar-05 4:55
ajalilqarshi16-Mar-05 4:55 
GeneralCOM object Member InvokeKind is always Unknown Pin
charliejazz15-Mar-05 1:22
charliejazz15-Mar-05 1:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.