orderaccess是组件名,ordermodify是方法
Dim oOrderModify As OrderAccess.OrderModify
Private Sub Form_Load()
Set oOrderModify = New OrderAccess.OrderModify
End Sub
to :online(龙卷风(学习.NET中...))
我的那个type lib能引用了.可是现在又有新的问题,我的组件由三个类模块组成,cstudent(multiuse),istudent(接口 pubicnotcreatable),declare(pubicnotcreatable).我把生成的dll作为组件添加到一个com+应用程序中.有两个接口._cstudent,_istudent.为什么会有两个接口?
我的客户端的声明如下:
dim istu as Istudent
set istu =new cstudent'出错:应用程序定义或模块定义错误.
要怎样声明啊?