检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:赵凯[1]
出 处:《兵工自动化》2002年第1期40-41,共2页Ordnance Industry Automation
摘 要:将VB提供的OLE控件与OLE Automation技术相结合,不仅可实现任意复杂曲线的制作,而且可实现曲线数据的实时刷新。其原理是用OLE控件将图表嵌入VB应用程序,而数据刷新则用后台启动Excel将数据输入至数据表中完成。其实现方法是在Excel中建立数据源表,在VB应用程序中创建OLE对象,并以数据刷新函数实现数据的动态激活。By combining OLE controls with OLE automation technology in visual basic, not only any complex curve can be made, but also data in the curve can real-timely be refreshed. The principle is that the graph is inserted into the VB application routine with using OLE controls, then, refresh of data is performed by data written into the *.XLS at the time running excel.exe in the back. The method is that *.XLS is built in the excel, OLE object is created in the VB application routine, and data dynamic activation is executed using the data refresh function.
关 键 词:VB OLE控件 OLEAutomation 曲线生成 数据刷新
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.145