Hello,
I am writing a program based on COM&Office word.
The codes are:
.......
_Application m_app;
COleException e;
m_app.CreateDispatch("Word.Application.8", &e);
....
Now, I want to get the CommandBars. So, I do like this:
........
LPDISPATCH lpdisp_comBar = m_app.GetCommandBars();
........
My question is:
How to get the object of 'CommandBars' from the 'lpdisp_comBar'?
I don't know WHICH CLASS represent the object 'CommandBars'.
If somebody know how to do it, please tell me.
Thanks a lot.
Word Heretic - 29 Jan 2005 02:36 GMT
G'day "C Dick via OfficeKB.com" <forum@OfficeKB.com>,
They are Office objects, not Word objects.
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
C Dick via OfficeKB.com reckoned:
>Hello,
>I am writing a program based on COM&Office word.
[quoted text clipped - 18 lines]
>
>Thanks a lot.