Had this issue I was wondering about. This is what it actually DOES then Ill say what I want it to DO. It grabs the word from a notepad I have saved in the directory, and brings it forward onto a form in designated area's and after whoever is done with the word and definition. It'll tell you how many times it's been looked up. Problem is the count applies NOT to the individual words as I'd have liked but EVERY word that has been searched for in the session.: Here's a snip-it
I would greatly appreciate any insight as to how to get the count to apply for each word individually. Either just within the session or, if possible, keep a constant running total of searched words.Code:try { WordList = Word.Split('_'); WordListCount = Word.Split('_'); if (WordFound == true) { MessageBox.Show("The word " + WordList[0] + " means" + WordList[1] + WordList[2]); for (Clicks = 0; Clicks < 1; Clicks++) { ClickCount = ClickCount + 1; } MessageBox.Show("The word " + WordList[0] + " has been searched for " + ClickCount + " time(s)"); } }


Reply With Quote

