So far I can't figure out the format for this operation, can anyone help?
I have an array of a structure and I need to assign an element of this array to a variable of the same type. In vb6 I'd use something like the following pseudo-code:
Assuming this is now vb.net and that's a structure etc - how do I do that last line??
Thanks
Ian
I have an array of a structure and I need to assign an element of this array to a variable of the same type. In vb6 I'd use something like the following pseudo-code:
VB.NET:
Type Name
Dim first as string
Dim second as string
End type
dim names() as Name
Dim aname as Name
...
...
' assume redim, assignment etc is done
[B]aname = names(10)
[/B]
Thanks
Ian