:confused: I have to modify a hangman game to open a sequential file, read thru the file and count the no. of words, generate a random no. from the file and read the word from the file corresponding to the random no. and use it in the game, as well as display the no. of the word being used from the file. I know i need to use the objStreamReader in the sub filenewmenuitem_click, but i cant figure out how to get the words to link to the game. Can someone help me??????
tekgrl
0
Newbie Poster
Recommended Answers
Jump to PostIf you define the 'words' as string * max length or something where the word has a maximum length you can make it a public type and then the file problem becomes a case of reading / writing 'records' (the word public type) and getting the number of records from …
All 4 Replies
weazel
0
Newbie Poster
1o0oBhP
4
Posting Pro in Training
nimu01234
0
Newbie Poster
3250245
0
Newbie Poster
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.