I have a program that looks up words in a dictionary. The dictionary is in the form of a text file with one word per line. I have tried
however it only looks at the first line of the dictionary, not every line. Any ideas on how to make it read each line individually. By the way, the text has no spaces and no punctuation.
(Dictionary is a streamreader)
Code:
If TextBox.Text.Contains(Dictionary.ReadLine()) Then MsgBox("This contains a word", MsgBoxStyle.Information, "Info") end if
(Dictionary is a streamreader)