Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Thu, 17 Jul 2008 01:17:01 -0700,    group: microsoft.public.vsnet.general        back       


array of controls   
hello,
I have a project in vb.net 2005. in this project I want an array of
controls, for example, an array of text box. in vb6 when you put a text box
on a form, then copy and paste it on the same form, a message appeared that
ask you "do you want to create array of that text box?" and they would have
indexes on that array, but in the vb.net 2005 when you copy a text box and
paste it , it produce a new text box, and they don't have any relation with
each other, and they don't have indexes. if I want an array of controls what
should I do?thanks.
date: Thu, 17 Jul 2008 01:17:01 -0700   author:   F.N.Z

Re: array of controls   
"F.N.Z"  wrote in message 
news:A5A2F2C7-77BE-47E8-978C-7817AB38A6F7@microsoft.com...
> hello,
> I have a project in vb.net 2005. in this project I want an array of
> controls, for example, an array of text box. in vb6 when you put a text 
> box
> on a form, then copy and paste it on the same form, a message appeared 
> that
> ask you "do you want to create array of that text box?" and they would 
> have
> indexes on that array, but in the vb.net 2005 when you copy a text box and
> paste it , it produce a new text box, and they don't have any relation 
> with
> each other, and they don't have indexes. if I want an array of controls 
> what
> should I do?thanks.


In VB 2005 look for help on controls collections in a container. You don't 
need an array in .NET.

Start here: http://msdn.microsoft.com/en-us/library/7e4daa9c(VS.80).aspx
date: Thu, 17 Jul 2008 06:56:20 -0500   author:   PvdG42

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us