passing an array to a function

vb6 Grenada
  • 14 years ago
    hi,
    i want to pass an array of bytes to a function ,anybody plz tell me how to pass parameters to functions in Vb and how to receive these parameters.
    thank u in advance

  • 14 years ago
    passing array in vb


    dim arByte() as Byte

    'call the function test
    test arByte()

    public function test(arrByte() as byte)
        'your code here
    end function



    'hope this helps :)















  • 14 years ago

    Hi harish

    Check this article

    Regards

    DoctorMahdi

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“In order to understand recursion, one must first understand recursion.”