摘要: 平台VS2008新建-类库完成代码(如添加函数,过程等等)后点生成->即可生成dll文件Public Class gps'定义由管径和流量确定流速 Public Function speed(ByVal qq As Single, ByVal aa As Single) As Single speed = 4000 * qq / (3.14 * aa * aa) speed = Format(speed, "0#.##") End Functionend class在要调用该dll文件的项目中点击项目->添加引用 选择该dll即可Public Class 阅读全文
posted @ 2009-05-05 20:39 Cad人生 阅读(5916) 评论(0) 推荐(0) 编辑