谁帮我一下很简单的问题: -----
正在学VB,
按照书上的例子输入以下一段程序
但是按运行键后,
总是通不过
User definded type not defind. 指 Configuare 这一行
是在哪里错了
' these variables hold the things about the site, like the name and mail domain. We'll ' use these later on...
Private m_strSiteName As String
Private m_strMailDomain As String
' this variable holds the connection string needed to connect to the database...
Private m_strDBString As String
Public Sub Configure(ByVal strSiteName As String, ByVal strMailDomain As String, _
ByVal strDBString As String, ByVal Session As Session)
' copy the site name, etc...
m_strSiteName = strSiteName
m_strMailDomain = strMailDomain
' copy the database details...
m_strDBString = strDBString
' Hold the Session information...
'Set m_Session = Session
'If Not m_Session Is Nothing Then
' Capture the BasketID...
'm_BasketID = CLng(m_Session("BasketID"))
'm_CustomerID = CLng(m_Session("CustomerID"))
'm_OrderID = CLng(m_Session("OrderID"))
'm_SupplierID = CLng(m_Session("SupplierID"))
'End If
End Sub