• 利用VB编程实现检测报告/记录自动生成
    《中国测试技术》杂志社csjs

    赵波,赵峰
    (江苏省计量测试技术研究所,江苏 南京 210007)
     
    摘要:本文介绍了如何通过VB编程利用Word Application对象模型实现检测报告或原始记录自动生成。文中首先介绍了Word对象模型及其结构;然后详细给出了一个题头信息重复的电磁兼容原始记录自动生成的实际例子,列出了该例的程序代码。利用文中介绍的方法,在对需要出具的报告和记录必要分析的基础上,利用VB编程便能实现检测报告和原始记录自动生成,有效地提高检测工作效率及降低报告差错率。
     
    关键词:VB;Word Application;检测报告自动生成
     
    中图分类号:TP311.52 文献标识码:A 文章编号:1672-4984(2006)03-0119-03
     
    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.
     
    Key words: VB;Word application;Fulfill testing report automatically
     


     
     
    网站首页  |  关于我们  |  联系我们  |  广告服务  |  版权隐私  |  友情链接  |  站点导航