VB6 Function - Array Parameter - Call From NAV

leikelmanleikelman Member Posts: 31
I created a function in VB6 that takes an Array as a parameter. When I try calling this function in NAV, the array type displays as a VAR SAFEARRAY. Is there some object in NAV I can pass into this function which will satisfy the SAFEARRAY type?

Setting the Dimension property on an object does not work. The error I get is "The array dimensions must be identical"

Thank you,

Leo

Comments

  • ara3nara3n Member Posts: 9,256
    Com/activeX/ocx implementation in nav is very limited. It supports the basic data types. I suggest to change the function in VB6.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.