您好,欢迎来到中国测试科技资讯平台!

首页> 数字期刊群 >本期导读>利用VB编程实现检测报告/记录自动生成

利用VB编程实现检测报告/记录自动生成

822    2016-01-22

免费

全文售价

作者:赵波, 赵峰

作者单位:江苏省计量测试技术研究所, 江苏 南京 210007


关键词:VB; WordApplication; 检测报告自动生成


摘要:

本文介绍了如何通过VB编程利用Word Application对象模型实现检测报告或原始记录自动生成。文中首先介绍了Word对象模型及其结构;然后详细给出了一个题头信息重复的电磁兼容原始记录自动生成的实际例子,列出了该例的程序代码。利用文中介绍的方法,在对需要出具的报告和记录必要分析的基础上,利用VB编程便能实现检测报告和原始记录自动生成,有效地提高检测工作效率及降低报告差错率。


Using VB programming to fulfill testing report and record automatically

ZHAO Bo, ZHAO Feng

Jiangsu Institute of Measurement and Testing Technology, Nanjing 210007, China

Abstract: In this paper,it's described that how to use Word Application Object Model based on VB programming to fulfill testing report and record automatically.First the Word Object Model is introduced;secondly an example of fulfilling EMC testing record automatically is given in detail.Using this method,we can accomplish testing report and record automatically,improve the testing efficiency and reduce the report mistakes.

Keywords: VB; Word application; Fulfill testing report automatically

2006, 32(3): 119-121  收稿日期: 2005-5-30;收到修改稿日期: 2005-7-12

基金项目: 

作者简介: 

参考文献

[1] 潘小轰.中文Visual Basic 6.0程序设计基础教程[M].北京:冶金工业出版社,2001.
[2] 李华飚,等.Microsoft Office 97/2000高级使用及开发实例[M].北京:北京理工大学出版社,1999.
[3] 晏强,等.电能计量检定生产管理系统的研究与设计[J].中国测试技术,2003,29(1):37-39.
[4] 庞一鸣.VB问答式教程[M].北京:清华大学出版社,2003.
[5] Microsoft公司.希望图书创作室,译.Visual Basic 6.0组件工具指南[M].北京:希望电子出版社,1999.
[6] Paul Lomax.刘海明,译.VB与VBA技术手册[M].北京:中国电力出版社,2002.