can you pass an array as optional to a sub or function? hello, I'd like to pass an optional array to my sub. This syntax works Public Sub As String, arrMyArray() As Integer) ... End Sub but as soon as I add Optional, the VB IDE highlights the code in red - obviously it doesn't like this: Public
Can't Assign Array to Variant in Array Hi, I want to assign an array to another array's element like: Dim ar1(2) Dim ar2$(2) ar1(0)=2 ar1(1)=ar2 ' *** But I get a Type Mismatch error for the last line of code. Can someone please enlighten me on how to perform
how to get the dimension of an array because of using dynamic array and for some specific reason, I can't know when my array is 1 dimension or when it is 2 dimension , so I have to know the function of getting the dimension of an array.
Help in Control Array Hi, is there are any way to know in code if a control is in array or not? thanks
dynamic array Is there a dynamic array in VB 6? Thanks.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum