M
Miro
VB 2003 and Im still new to vb, so i hope i can explain this as best I can.
I have a variable defined as such: ( simple example )
Dim AVariableOfSorts(,) As Object = _
{ _
{"Last", "String", 20}, _
{"First", "String", 20} _
}
I had to define it as an object so I can have different variable types all
within the same array.
( unless there is another way to do this )
What im getting is an error "Option Strict On Disallows Late Binding" when
I try to do anything with an array element.
For example
AVariableOfSorts(1, 1) = ""
I would like to keep Strict On on
What am I missing ? or how do I get around this issue?
I beleive I know the difference between binding. - Simply put:
1. Dim X as String is early binding and Dim X as Object ,...
X.GetType.ToString would be late binding and would
take longer during running.
Im not sure what to search for in Help / or Online to help myself out.
Thanks
Miro
I have a variable defined as such: ( simple example )
Dim AVariableOfSorts(,) As Object = _
{ _
{"Last", "String", 20}, _
{"First", "String", 20} _
}
I had to define it as an object so I can have different variable types all
within the same array.
( unless there is another way to do this )
What im getting is an error "Option Strict On Disallows Late Binding" when
I try to do anything with an array element.
For example
AVariableOfSorts(1, 1) = ""
I would like to keep Strict On on
What am I missing ? or how do I get around this issue?
I beleive I know the difference between binding. - Simply put:
1. Dim X as String is early binding and Dim X as Object ,...
X.GetType.ToString would be late binding and would
take longer during running.
Im not sure what to search for in Help / or Online to help myself out.
Thanks
Miro