C++ MS Word Automation

I am trying to use Word Automation.  I am about to write an app that "links" to Word, so that the user can type into my app but still use all of the Word features like Auto-correct and related features.  This would be a dialog app and look to the user as if they are just typing into a standard or rich edit box.  I am developing with MS VC++ 5.0, sp3.  Is this possible?  Any pointers on getting started.  Anyplace I can look to find out the possible Automation/COM/ActiveX backend to Word?  How to use it, etc..  I have searched MS's website and have not found much and have been unable to find a book that does provides the information.   Everything that is even remotely close is in VB.  I do not use/know VB.  A pointer to a good book, in C++, would also be helpful.

Thanks.
tvandegrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chensuCommented:
Office Development Automation
http://support.microsoft.com/support/officedev/automation.asp

Automating Office with VC++: Knowledge Base Articles
http://www.microsoft.com/officedev/tips/autovc.htm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tvandegrAuthor Commented:
Thanks for the pointers.  One question before I grade this.  All of the examples that embed an office object embed them in a standard SDI app.  Do you know how to embed an object in a dialog box app or a "FormView" SDI?  Do I need to do some playing around with "Custom Controls?"  If so, do you have any pointers/ideas of how to associate a "Custom Control" with a Word document.  I have not work much with "Custom Controls."   I have only worked on one project that used them, and that was two years ago.  In the end, I will need to have three word documents embeded into my user interface.  In an RichEditView the ebmeded documents can be deleted from the view.  

Thanks.
0
chensuCommented:
It has nothing to do with Custom Controls. A dialog box or a formview is a window. You can use the same technique as a SDI.
0
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

tvandegrAuthor Commented:
I can get an instance of Word imbeded in a "FormView."  Unfortunately it just looks like Word, with a different title bar.  Do you know if it is possible to get several different instances of word imbeded in a "FormView" so that they look like controls, for instance an edit control?  Am I tring to go to far/do to much?    Do you know of any place where all of the classes that get generated from the ".olb"?

Thanks.  
0
tvandegrAuthor Commented:
I forgot to finish that last sentance.  

Do you know of any place where all of the classes that get                     generated from the ".olb" are documented (well)?

Sorry.
0
chensuCommented:
>Do you know if it is possible to get several different instances of word imbeded in a "FormView" so that they look like controls, for instance an edit control?

The closest thing is using Active Documents. Your program is an Active Document container while Word is an Active Document server. But Word's toolbar will appear.

>Do you know of any place where all of the classes that get generated from the ".olb" are documented (well)?

The only place is

http://msdn.microsoft.com/library/

Office Developer Documentation\Office 2000 Documentation\Microsoft Office 2000 Language Reference\Microsoft Word 2000 Reference
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.