vb程序,在生成EXE文件时报错“未找到方法或成员数据”但是又能运行
代码
Public Property Set Connection(sconn As ADODB.Connection)
     Set frmdata.sConnection = sconn
End Property
'只读属性用户获取数据表的名称
Public Property Let Table(strTable As String)
    frmdata.TableName = strTable
End Property
'显示窗体,执行操作
Public Function showFrm()
    frmdata.Show
End Function