As Array got elements or not
![Visual Basic 6, or VB Classic Visual Basic 6, or VB Classic](https://www.fortypoundhead.com//assets/img/icons/v7/vb6.png)
Not many people know this one, an API that checks if an array as elements or not
Original Author: stephen whittle
Code
Private Declare Function SafeArrayGetDim Lib "oleaut32.dll" (ByRef saArray() As Any) As Long ----------------------------------
If SafeArrayGetDim(Your array) > 0 Then
Debug.Print "Array as elements"
End If
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.