VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



As Array got elements or not

by stephen whittle (10 Submissions)
Category: Windows API Call/Explanation
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (7 Votes)

Not many people know this one, an API that checks if an array as elements or not

Rate As Array got elements or not

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

Download this snippet    Add to My Saved Code

As Array got elements or not Comments

No comments have been posted about As Array got elements or not. Why not be the first to post a comment about As Array got elements or not.

Post your comment

Subject:
Message:
0/1000 characters