Hi Fergus,
Thank you very much for the link. It didn't work in VB 2003.NET Trial even
though that does come with MSDN. However this worked great:
http://msdn.microsoft.com/library/de...albasicnet.asp
and is of course the same URL more or less :).
I will also be reading the articles below, but what you sent me is a major
start towards reducing the bloat of my code so I already implemented what
you sent me and I'll read that big VB 2003 article in the morning (see
below). You see I have a board type game and currently it's 5x5 squares
(remember I'm talking functional squares that store pieces, not pixels
here), but I want it to be configurable for almost any WxH (width by height)
in squares.
VB Any and C#:
http://msdn.microsoft.com/library/de...visualcnet.asp
VB 2003 Only:
http://msdn.microsoft.com/library/de...trolarrays.asp
Cheers,
Christian
"Fergus Cooney" <wo****@tesco.net> wrote in message
news:OD**************@TK2MSFTNGP10.phx.gbl...
Hi Christian, Herfried,
There's a help topic: Control Array Changes in Visual Basic .NET
ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbconcontrolarraychangesinvisualbasic net.htm
which says:
In Visual Basic .NET, control arrays are no longer supported. Changes
to the event model make control arrays unnecessary. Just as control arrays in
Visual Basic 6.0 could share events, the event model in Visual Basic .NET
allows any event handler to handle events from multiple controls. In
effect, this allows you to create groups of controls of disparate types that share
the same events.
I think they missed the point a bit.
Regards,
Fergus