Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2005

Tip: Looking for answers? Try searching our database.

One issue about the GetCommandBars

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
C Dick - 28 Jan 2005 01:02 GMT
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.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.