'automation'에 해당되는 글 1건

  1. 2007.05.23 Word 문서 MFC에서 열기 (VC++6.0)
프로그래밍/C/C++2007.05.23 11:34

이 기술은 자동화기술의 하나로, MS에서 제공되는 것을 이용하여
MFC에서 워드 문서를 사용하는 것에 대한 설명이다.

http://support.microsoft.com/kb/q238611/

 

 How to embed and automate a Word document with MFC

SUMMARY

Documents that are embedded in other application documents, using OLE embedding, can be modified by automation without double-clicking the embedded document to activate it in "edit" or "open"' mode.

This article demonstrates how to embed and automate a Microsoft Office Word document in an MFC Single Document Interface application. The same approach works with any version of Word. The distinction is not which version of Word created the document, but rather, which version of Word you use in the automation process.

The Word type libraries are as follows:
For Microsoft Office Word 2007, the type library is Msword.olb and is located in the "C:\Program Files\Microsoft Office\Office12" folder.
For Microsoft Office Word 2003, the type library is Msword.olb and is located in the "C:\Program Files\Microsoft Office\Office11" folder.
For Microsoft Word 2002, the type library is Msword.olb and is located in the "C:\Program Files\Microsoft Office\Office10" folder.
For Microsoft Word 2000, the type library is Msword9.olb and is located in the "C:\Program Files\Microsoft Office\Office" folder.
For Microsoft Word 97, the type library is Msword8.olb and is located in the "C:\Program Files\Microsoft Office\Office" folder.

 중략.. 직접 링크를 가서 보세요..


http://support.microsoft.com/kb/q238611/

Posted by 시난

댓글을 달아 주세요