摘要
水利水电工程应用程序设计中,常要求程序不但要有强大的计算功能,还应能将数据输出到绘图软件自动生成设计图,同时将结果以文本格式输出。在可能的情况下,还要求应用程序能够访问ex-cel电子表格读取数据,并能将程序运行的结果以电子表格报表的形式输出。Visual Basic具有强大的计算能力并能满足以上要求,但它对相关程序的访问方法还未为广大工程人员所熟悉,本文结合实例介绍了相关的实现方法。
In the program design of water conservancy and hydroelectric projects, the program is always required not only to have the powerful calculation function, but also to export data to AutoCAD for creating plans and to export the result as a text. Sometimes, the program is also required to access Execl. Visual Basic has a powerful calculation function, it can satisfy these requests. But many engineers are not familiar with the access methods of Visual Basic to the correlative program, this paper introduces them by examples.
出处
《水利与建筑工程学报》
2006年第1期78-80,共3页
Journal of Water Resources and Architectural Engineering