Results 1 to 30 of 30

Thread: VB6 - Returning/Detecting Empty Arrays

Threaded View

  1. #8
    Fanatic Member
    Join Date
    Nov 2011
    Posts
    810

    Re: VB6 - Returning/Detecting Empty Arrays

    i use

    Public Declare Function SafeArrayGetDim Lib "oleaut32.dll" (ByRef saArray() As Any) As Long

    if SafeArrayGetDim(arrayname) > 0 then
    'Array returned
    else
    ' No array
    end if
    Last edited by k_zeon; Oct 20th, 2013 at 10:34 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width