Right - you have to code:
Dim values() As Object
.... various other lines of code ...
ReDim values(2) As Object
You can't declare it as a 2 element fixed size array and then resize
it as a 3 element array. You have to declare it without fixed size.
(In VB6 you used to be able to declare an array with the ReDim
statement - ugliness heaped on top of ugliness.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com