Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27532

Need help with array! Help needed quickly!

$
0
0
Hey guys
I'm quite the noob at visual basic
I'm using visual basic 2010
And I need to know how to do this
I'm making a hangman game, and I need to make it so that the user can add their own words in.
So I have a text-box where the user can add a word.
And a button that should add that word to my array.
My array consists of many words that will be used in my game.
So far I'm thinking of something along the lines of (psuedocode)

When button1.click
textbox1.text = (11)'word in array'

How do I make it so that when the user writes a word out, then clicks on the button, that word that he's written down is added to the array?!

I know the process..it's just a matter of writing the code down..
Thanks!
:D

Viewing all articles
Browse latest Browse all 27532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>