首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

小弟我就不信csdn里的人不会这个有关问题!

2012-03-06 
我就不信csdn里的人不会这个问题!!用ADO连接数据库后(动态连接),用datagrid控件显示数据库中的表内容,现在

我就不信csdn里的人不会这个问题!!
用ADO连接数据库后(动态连接),用datagrid   控件显示数据库中的表内容,现在想把表中的数据导出到word表格中,就是实现获取当前datagrid   控件内容导入word这一功能。
注:1.我用的是VC6.0;
        2.在此先谢过各位捧场的师兄,过客!!


[解决办法]
看看word automation方面的资料,
http://www.codeproject.com/com/word_ole_bm.asp
Demonstration of OLE Automation of MS Word
http://support.microsoft.com/kb/220911/EN-US/
How To Automate Microsoft Word to Perform a Mail Merge Using Visual C++ and MFC
http://support.microsoft.com/kb/252719
How to use WordBasic functions in an MFC Automation client for Word
http://www.adp-gmbh.ch/win/automation/word.html
Automation of WinWord using COM and C++ without MFC
[解决办法]
还是星星多的办事 赞一个

热点排行