检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机工程与设计》2004年第6期961-962,967,共3页Computer Engineering and Design
摘 要:简单文本格式无法生成复杂的表格和图形,因而采用WORD(或EXCEL)作为专用软件的数据报表文件是很有意义的,它可以按照用户要求将数据以图表的形式形象地表示出来。为了在VC++环境中创建和生成WORD文档,必须利用COM技术,把WORD程序看做COM服务器,把用户程序看做客户端,利用COM技术创建WORD对象,利用WORD对象调用VBScript函数(宏函数)来控制WORD文档的生成。通过研究证实该技术是可行的,并且对OFFICE软件都适用。Simple text file can't display data in table or chart format, so using word (or excle) document as program's report file is very useful, it can use table and chart to display data in a direct and clear way, a ccoring to the users' reqirement. In order to create a word document in VC++ environment, COM technology must be used. The word program worked as server and user's program worked as client. A word object was created by COM technology, and then the word object was used to call VBScript function for manipultating the generation of word document. This technology is useful to all office programs.
关 键 词:VC++语言 WORD文档 OLE COM VBSCRIPT 头文件
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.222.182.107