No Built-in Document Properties

P

Phil

I develop in VC++ and use the MSWORD.OLB to create a set of classes that allow me to interface with word, the same way most people do in VBA, I would guess. However, when I generate the classes using ClassWizard, there does not appear to be a class for the Built-in document Properties. Ther is a method in the Application property to obtain a pointer to that class, but there doesn't seem to be a class created by Class Wizard for that class. Can anyone tell me how to obtain it

Thanks

Phil
 
T

Tom Winter

Phil said:
I develop in VC++ and use the MSWORD.OLB to create a set of classes that
allow me to interface with word, the same way most people do in VBA, I would
guess. However, when I generate the classes using ClassWizard, there does
not appear to be a class for the Built-in document Properties. Ther is a
method in the Application property to obtain a pointer to that class, but
there doesn't seem to be a class created by Class Wizard for that class.
Can anyone tell me how to obtain it?
Thanks,

Phil

My guess is that class is defines in the office type library, which I
believe is MSO.DLL (not entirely sure on that!). The classes that are common
to ALL office apps (like CommandBars) are defined here.

-Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top