Hi - new to vb.net

i'm working on a hangman project in vb.net and i'm having trouble.

so i started out pretty simple, with a textbox and a button with a loop behind it. the loop starts from 1 to the len("hello")

i've used an if and then statement within the loop just to check whether a letter entered into the textbox is there within "hello".

my problem is that my loop only seems to find the last letter within my word "hello".

how do i get it loop and search for all the letters in my word "hello"?

Show the code that you have so far. Also, try a for-next loop.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.