VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Jan 2009
    Location
    Singapore
    Search Comp PM
    If res = Windows.Forms.DialogResult.Yes Then
    Yes = True
    Password = InputBox("what is your secret question?", "Enter secret question")
    prompt = 2
    Password = InputBox("what is your secret answer?", "Enter secret answer")
    txtPassword.Select()
    nosuccess = 3
    End 'Form 1
    End If

    How to write the code that the secret question the textbox is equal ("What is your favourite food?")?
    and the secret answer textbox is equal ("Chicken Rice")
    Quote Quote  
  2. Create a two-dimensional string array containing question and answer pairs. Search the array for the question to return the expected answer. Compare to the user's answer. Hint, use the LCase or UCase functions to convert questions/answers to all lower/uppercase.
    John Miller
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!