vb窗体公共过程使用模块中定义的类型
- VB code
'Module1.basType infp a As Integer b As IntegerEnd Type
- VB code
'Form1.frmDim a1 As infoPublic Function Send() As info '有错 Send = a1End Function
请帮忙解决一下
[解决办法]
把结构体定义成类模块。
或者,作为 ByRef 参数传递进来。
发布时间: 2012-03-21 13:33:15 作者: rapoo
vb窗体公共过程使用模块中定义的类型
'Module1.basType infp a As Integer b As IntegerEnd Type
'Form1.frmDim a1 As infoPublic Function Send() As info '有错 Send = a1End Function