i have to create this hangman type game for college and i'm a bit stuck on get data inputted by the player to be displayed onto another form.
the player will input a clue to help with the guessing of the word (this is entered on one screen)
and it needs to be displayed on another form, but i don't know how to do this could anyone help please.
Btw... you don't need to use the "Load" expression everytime you're refering to some Form. Every call to some Forms method, function or property envokes the Form automatically so it's already loaded.
cheers
i know i understood the sample you showed me which is probably the first thing i have understood all day but i'm still having a few problems in loading the clue up
the game is only suppose to have 6-letters according to our tutor, don;t ask me why.
the clue is supposed to be a hint to help guess the word which will be entered of the "frmWordClue"
then when you click on the "click to play" button it is supposed to be displayed in the label which is under the title at the top of the page
out of all the pages the "how to play" form is the easiest but want to get the rest done first lol
when i've done the clue part i have to start on the drag and drop side of the game :S
Well... i/we 'll be glad to help you with some specific problem/s if you'll encounter some in the near future Good luck!
If you concider this thread to be resolved then please pull-down the 'Thread Tools' menu and 'Mark Thread Resolved' so people will know you got your answer
Private Sub cmdClickToPlay_Click()
Load frmGameScreen
frmGameScreen.lblInput.Caption = EnterClue1.Text
frmGameScreen.Show
Unload Me
End Sub
Also, learn how to use Option Explicit in each of your modules (see my example). To use it in your every module by default, go to menu Tools>>Options>>Editor>>... and tick Require Variable Declaration.