Any Good Book..?

B

Basavaraj

Hi All,
Can anybody share their experiences abt any book about "Programming MS Word
" using MFC or plain C++ or C. Could you suggest some books so that i can buy
them and use. Because, wherever i ask some boubt, i am getting replies in VBA
and stuffs like that. My project is completely in C++ and MFC so, i need this
help in anycase. Please, earlier response will be very much appreciated.

Thanks in advance.

Basavaraj
 
J

Jay Freedman

Hi Basavaraj,

As far as I know there is no such book -- it would interest far too few
people to make the publication profitable.

The documentation, what there is of it, is mostly on the MSDN web site.
Start at http://msdn.microsoft.com/office/ and click the link to
"Understanding Office Development" in the left pane. The flyout menu will
lead you to articles about using Visual Studio to automate various Office
programs, including Word.

You'll find that most of the articles and code samples are in VB.Net and C#.
Usually you will have to do your own translation to C++, although
translating from C# to C++ shouldn't be very difficult.

The central idea is that, although you're using another language, you're
manipulating the same objects in the Word object model that are available in
VBA. This means you must be familiar with those objects, which are
documented in the VBA help; and you must understand how those object affect
Word documents -- something you must often discover by experimenting, as the
documentation doesn't cover a lot of the oddities.
 
B

Basavaraj

Hi Jay,
Thanks alot for your suggession.
Yeah, i understand that i have to translate in to the language that i want,
but a small problem is, i am using Com's Dispatch interfaces to invoke this
microsoft word
and its very often that i can not to the way VBA does it more wasily. Like,
if i want to set an attribute in a built in dialog of word, in VBA, its
simply, aDlg.Title = "MyTitle" but using Dispatch interfaces, i need
dispatch IDs for all such things . Thats why i was lil confused and i thought
there will be some book which can help me. Any how ,i am following that link
now, hope it helps me the things that i need.
In anycase, thank you very much for your suggession.

Regards,
-Basavaraj
 

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