Displaying a Word Document

M

Mike P

Hi --

I have a legacy application written in C++/MFC and I'm trying to display a
Word Document in a frame on a dialog box. I can create the Word Application
successfully and I have even gotten the Word Application to display. But I
don't want the whole Word application, I don't want to give the user the
ability to use menus or any other Word feature. I just want to display the
current document (with scrollbars if necessary). The user just needs to
inspect the data, nothing else.

The source document is coming from a blob in an Oracle database into memory,
to a temp file and Word is created with the document being loaded from the
temp file.

Any clues appreciated.

TIA,

Mike P

Development environment is VS2005.
 
C

Cindy M.

Hi Mike,

difficult to offer any suggestions without know which version of Word is
targeted - on both the doc-production as well as the client ends.
I have a legacy application written in C++/MFC and I'm trying to display a
Word Document in a frame on a dialog box. I can create the Word Application
successfully and I have even gotten the Word Application to display. But I
don't want the whole Word application, I don't want to give the user the
ability to use menus or any other Word feature. I just want to display the
current document (with scrollbars if necessary). The user just needs to
inspect the data, nothing else.

The source document is coming from a blob in an Oracle database into memory,
to a temp file and Word is created with the document being loaded from the
temp file.

Any clues appreciated.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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