unpcaking a safe array
unpcaking a safe array
(OP)
I have a VARIANT of type SafeArray containing three longs. I have a varaibale m_Data (3) of type Long. How can I pass the data from Variant to m_Data.
Dim m_Var As Variant
Dim m_Data (3) As Long
How do you put the m_Var data into m_Data in VB?.
Dim m_Var As Variant
Dim m_Data (3) As Long
How do you put the m_Var data into m_Data in VB?.
jevakil@mapdi.com
One nuclear bomb can ruin your whole day.
RE: unpcaking a safe array
Dim i As Integer
For i = LBound(m_Var) to UBound(m_Var)
m_Data(i) = m_Var(i)
Next i
DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
RE: unpcaking a safe array
jevakil@mapdi.com
One nuclear bomb can ruin your whole day.