Control Arrays

T

T3rM1ght

Hello there, I have a question concerning the final release of VB.NET,
will there be inherent support for creating control arrays as in VB6? I
am have a problem with code for a multi-user server which user winsock
control arrays which I ported over to VB.NET 2005 Express Beta 2 using
the upgrade feature. What happened was.. the original array I had set
for my wsArray control was changed in some way which I cant seem to
figure out.

If theres a way to maby re-create the same control array feature in
VB.NET as in VB6, (see screenshot), could you possibly give me a bit of
help on how to do so?

Screenshot:
http://img427.imageshack.us/img427/7341/wsarrayproblem1ez.jpg
 
K

Ken Tucker [MVP]

Hi,

In addition to Cor comments there is a free control array
component in the windows forms .net website that might help.

Ken
 
H

Herfried K. Wagner [MVP]

T3rM1ght said:
I have a question concerning the final release of VB.NET,
will there be inherent support for creating control arrays as in VB6? I
am have a problem with code for a multi-user server which user winsock
control arrays which I ported over to VB.NET 2005 Express Beta 2 using
the upgrade feature. What happened was.. the original array I had set
for my wsArray control was changed in some way which I cant seem to
figure out.

Unfortunately .NET doesn't support design-time control arrays. However,
there are several ways to mimick the behavior of control arrays:

Accessing controls by their names or indices
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=controlbynameindex&lang=en>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Control Arrays 4
Control arrays converted from VB6 4
Control arrays converted from VB6 8
Control arrays and FormN.Label31 16
Winsock 6 control in VB.NET 6
control arrays 10
Control Arrays Question 5
control array 6

Top