Associate
- Joined
- 27 Jan 2005
- Posts
- 1,395
- Location
- S. Yorks
Got a program that I need to convert from excel vba to vb.net2003 all is going reasonably ok apart from:
Private Type Leave
a as string
b as string
c as string
d() as double
e() as long
end type
Further in the code d and e are redimensioned with e being a 2 dimensional array.
Now I have converted it to
Private Structure Leave
a as string
b as string
c as string
d() as double
e() as long
end structure
but I can't redimension the e which is a 2 dimensional array.
I can't set the dimensions within the structure so need to do it outside of this.
How can I do this?
regards,
Matt
Private Type Leave
a as string
b as string
c as string
d() as double
e() as long
end type
Further in the code d and e are redimensioned with e being a 2 dimensional array.
Now I have converted it to
Private Structure Leave
a as string
b as string
c as string
d() as double
e() as long
end structure
but I can't redimension the e which is a 2 dimensional array.
I can't set the dimensions within the structure so need to do it outside of this.
How can I do this?
regards,
Matt
Last edited: