| |
jaloplo
Posts: 2
Score: 0
Joined: 11/14/2005
Status: offline
|
Hi, I have a problem and I don't know how to solve it. I have two classes, one is an element (eClass) of the other (pClass). The parent class have an array of elements eClass. There is a function where you can add a new element of the array: Public Sub AddMenu(wmItem) m_size = m_size + 1 Redim Preserve m_wmi(m_size) m_wmi(m_size) = wmItem End Sub When I call this function, asp returns this error: Microsoft VBScript runtime error '800a01b6' Object doesn't support this property or method: 'm_wmi' /asp/inc/menuClass.vbs, line 27 I've changed the last line and assigned number 5 instead of wmItem. After that it works properly. So, I think it is impossible to instantiate any class array, isn't it???? What do you think about that??? Or Do I have an error in the code????
|
|