如题,我想在程序里面访问一个WORD文档,但是不用把它打开,而是直接打印出来,最好有源代码,谢谢!解决了就给分
解决方案 »
- VC程序员需要学习编译原理吗?
- 如何在编辑框中换行【我是菜鸟,急啊!】
- 用vc最好是做什么??一并探讨学习中因该注意的问题 (有体会的请进来说话啊)
- 请教一个浏览器编程的问题
- 哪里有《PE文件格式详解》下载??
- 内存问题
- 过两天小弟要去面试,请问,面试的时候,一般会提些什么问题呢?关于VC/C++的
- 请各位指教一下,CClientDC和CPaintDC有什么区别?
- #include “digitalv.h” 包含这个头文件就报错
- 一个Link2001错误问题:unresolved external symbol "__declspec(dllimport)...
- 在vc中打印api函数有哪些?如何察看?我要直接用api函数打印
- 用API函数编程应选择哪个工程?
ShellExecute(m_hWnd, "print", "xxx.doc", NULL, NULL, SW_HIDE);
谢谢了,这样是可以的,但是有没有其他的方法实现呀?这样不能弹出打印对话框进行打印设置!
微软的Knowledge Base的文章:
“Q176069 OWTO: Print a Range of Pages in Word Using OLE Automation”
“Q153675 ow To Use Code to Print a Word Document in a General Field” http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q176/0/69.asp&NoWebContent=1http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q153/6/75.asp&NoWebContent=1