How to use Arraylist in vb.net
How to use Arraylist in vb.net
How to use Arraylist in vb.net
How to use Arraylist in vb.net
How to use Arraylist in vb.net
How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net
How to use Arraylist in vb.net How to use Arraylist in vb.net
How to use Arraylist in vb.net
Go Back  Xtreme Visual Basic Talk > > > How to use Arraylist in vb.net


Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2006, 12:18 AM
maria_tachi maria_tachi is offline
Newcomer
 
Join Date: Dec 2005
Posts: 10
Default How to use Arraylist in vb.net


Hi everyone,

I'm a newbie in this forum. Currently I'm working on a game and I need help on how to use arraylist in my game. Maybe I shall explain a bit on my game It's a VB.net game where a chicken has to eat up all the seed which are scattered on the ground.

Hence, my question is that how do I make use of ArrayList for the seed in order to make my seed disappear after eating and redraw themselves after all the seed has been eaten for the first round

--Maria--
Reply With Quote
  #2  
Old 02-01-2006, 02:24 AM
ardman ardman is offline
Contributor
 
Join Date: Jan 2002
Posts: 126
Default

You would first need to create a new instance of an array list:

Dim myArrayList As ArrayList = New ArrayList

You can then use the Add and Remove methods in order to add or remove seeds.
__________________
Cheers
Reply With Quote
  #3  
Old 03-23-2008, 05:40 AM
sre08 sre08 is offline
Newcomer
 
Join Date: Mar 2008
Posts: 3
Default

you use the ArrayList

ArrayList has lot of methods to do this.

check this link , it may help u

http://vb.net-informations.com/colle..._ArrayList.htm

http://vb.net-informations.com/colle..._tutorials.htm
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
How to use Arraylist in vb.net
How to use Arraylist in vb.net
How to use Arraylist in vb.net How to use Arraylist in vb.net
How to use Arraylist in vb.net
How to use Arraylist in vb.net
How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net How to use Arraylist in vb.net
How to use Arraylist in vb.net
How to use Arraylist in vb.net
 
How to use Arraylist in vb.net
How to use Arraylist in vb.net
 
-->