请教VB中一个active dll的问题

[复制链接]
查看11 | 回复1 | 2009-6-5 23:13:48 | 显示全部楼层 |阅读模式
dll 中,maxp 不能申明 TextBox。改为:Public Function xunmaxp(sta() As Single, maxp As Object) xunmaxp = maxp.Text '这是语句例子End Function调用(假设你的函数在 dll 的类模块 Class1 中):Private Sub Command1_Click() Dim dd As New Class1, sta() As Single, s s = dd.xunmaxp(sta, Text1)End Sub...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行