Hi, I want to modify an array that has been defined in vb using pb.
Everything works fine but now I changed my code and I get an error in vb 'Byref type argument mismatch'.
I don't see why! Any idea???
In the first version I had an array...
Public ObjectInfo(1000) As long
The version with the error is...
Public Type ObjectData
Area As Long
Ortho As Long
Diago As Long
LongestChord As Long
Status As Long
End Type
Public ObjectInfo(1000) As ObjectData
Thanks for any help
------------------
Everything works fine but now I changed my code and I get an error in vb 'Byref type argument mismatch'.
I don't see why! Any idea???
In the first version I had an array...
Public ObjectInfo(1000) As long
The version with the error is...
Public Type ObjectData
Area As Long
Ortho As Long
Diago As Long
LongestChord As Long
Status As Long
End Type
Public ObjectInfo(1000) As ObjectData
Thanks for any help
------------------
Comment