Search Tools Links Login

As Array got elements or not


Visual Basic 6, or VB Classic

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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 129 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.