Board index » Visual Studio » .NET Option Array?

.NET Option Array?

Visual Studio232
Hi,



I currently use VB6 in work but I have obtained a copy of Visual Studio.NET

2003 which I have loaded on my machine @ home just so I can have a play

around and see what differences there are. I have noticed that in .NET you

cannot name a control or label the same, this is obviously different from

VB6 where if you name a control the same as another it ask's if you want to

create a control array. Was wondering how you create a control array in

.NET.



Would appreciate some tips.



Thank you



Damon


-
 

Re:.NET Option Array?

Almost everybody in this newsgroup is using VB6 or lower. While you may get

a stray answer to VB.NET questions here, you should ask them in newsgroups

devoted exclusively to .NET programming. Look for newsgroups with either the

word "dotnet" or "vsnet" in their name.



For the microsoft news server, try these newsgroups...



microsoft.public.dotnet.general

microsoft.public.dotnet.languages.vb

microsoft.public.vsnet.general



For the news.devx.com news server, try these



vb.dotnet.discussion

vb.dotnet.technical



There are some others, but these should get you started.



Rick - MVP









"Damon" <damon@nospam.co.uk>wrote in message

Quote
Hi,



I currently use VB6 in work but I have obtained a copy of Visual

Studio.NET

2003 which I have loaded on my machine @ home just so I can have a play

around and see what differences there are. I have noticed that in .NET

you

cannot name a control or label the same, this is obviously different from

VB6 where if you name a control the same as another it ask's if you want

to

create a control array. Was wondering how you create a control array in

.NET.



Would appreciate some tips.



Thank you



Damon









-

Re:.NET Option Array?

As rick said, see another group for dotnet questions. But FYI .net does not

provide for control arrays in the current version. Next version ... who

knows?



--



Randy Birch

MVP Visual Basic

www.mvps.org/vbnet/">www.mvps.org/vbnet/

Please respond only to the newsgroups so all can benefit.





"Damon" <damon@nospam.co.uk>wrote in message

: Hi,

:

: I currently use VB6 in work but I have obtained a copy of Visual

Studio.NET

: 2003 which I have loaded on my machine @ home just so I can have a play

: around and see what differences there are. I have noticed that in .NET

you

: cannot name a control or label the same, this is obviously different from

: VB6 where if you name a control the same as another it ask's if you want

to

: create a control array. Was wondering how you create a control array in

: .NET.

:

: Would appreciate some tips.

:

: Thank you

:

: Damon

:

:





-

Re:.NET Option Array?

"Randy Birch" <rgb_removethis@mvps.org>wrote in message <news:#3TiH7VrDHA.2568@TK2MSFTNGP09.phx.gbl>...



Quote
As rick said, see another group for dotnet questions. But FYI .net does not

provide for control arrays in the current version. Next version ... who

knows?



After claiming that control arrays are Evil, Bad, and Wrong?



URL:msdn.microsoft.com/library/en-us/vbcon/html/vbconcontrolarraychangesinvisualbasicnet.asp">msdn.microsoft.com/library/en-us/vbcon/html/vbconcontrolarraychangesinvisualbasicnet.asp



But then, once upon a time, they also claimed that implementation

inheritance was "not appropriate" for "component software" like

Visual Basic code...



--

Joe Foster <mailto:jlfoster%40znet.com>Sign the Check! <www.xenu.net/>">www.xenu.net/>

WARNING: I cannot be held responsible for the above They're coming to

because my cats have apparently learned to type. take me away, ha ha!





-