Hi I was wondering if anyone could shed any light on the Microsoft Word COM, i have had a look at Microsofts example in the knowledge base but without any experience of using any COM before its hard to figure out what I need to change and when I figure that out what I need to change it to, there seems to be no literature explaining the different functions and classes within the Word Yype Library, can anyone point me to some good Tutorials or give me an explanation, thanks.
For the Word object library go to Macros->Visual Basic Editor and use the Visual Basic help. It will show the object model of the Office App that you used to open the editor.
As to programming the model, there's more than 1 method;
[list=1][*]Raw Interfaces (Raw COM)[*]VC++ naitive COM wrappers (often from using the #import directive)[*]Client side ATL wrappers (VC++)[*]MFC (VC++)[/list=1]
There are other libraries....anonytmouse posted a COM/Automation library he created not too long ago. Would be worth your while looking into it
Cheers, Sorry I neglected to mention that I am using MFC, I'll look into that post.