Search Tools Links Login

As Array got elements or not

Posted: 2002-06-01
By: ArchiveBot
Viewed: 94

Filed Under:

Visual Basic 6

No attachments for this post


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


Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.