Ask Experts Questions for FREE Help !
Ask
    legend232's Avatar
    legend232 Posts: 1, Reputation: 1
    New Member
     
    #1

    Jan 16, 2008, 06:27 AM
    Key Words
    Hi there, I am creating a quiz-type program. A question will be asked and the user will enter the answer in the given box. However, some of the answers will require more than one word, and the user may explain it differently than I would. I was wondering if VB is able to search the answer written in the box for key words so that I know if the user is correct or not. If so, how does it work, and if not, do you have any other suggestions?
    Ache's Avatar
    Ache Posts: 5, Reputation: 1
    New Member
     
    #2

    Mar 1, 2008, 04:20 AM
    Try Text 1.Text=Instr(strText,"Type The Key word"). This will locate the key word and display the location. Then use the if... then... else statement to test if a key word is located then answer correct else whatever.

    I hope this will help u

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Words in a song [ 4 Answers ]

I stepped out side to smoke a j went back in and the room began to sway

My intuition or his words [ 10 Answers ]

If your boyfriend tells you " If you think I'm cheating, then pack up and leave". He has cheated on me before. Is he saying he is cheating and he wants me to leave, or is it to mess with my head? I want to understand what he really means. I know Im stupid and blinded by love. We have been...

How do you get a song with no words [ 4 Answers ]

If there is a song you like, how do you get it with just the music, no vocal?

In 5 Words or less: What are you? [ 145 Answers ]

I'm just curious. I know a few of you but not many. I'm not looking for debate or comment, just wondering... Me: Ecumenical Evangelical Roman Catholic Christian


View more questions Search