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")
+ Reply to Thread
Results 1 to 2 of 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
Similar Threads
-
Calling MediaInfo from Visual Basic to et video info
By SearchQuality in forum ProgrammingReplies: 18Last Post: 2nd Nov 2011, 06:36 -
testing thecoalman's suggestion of [code=php] test [/code] ... FAILED!
By vhelp in forum TestReplies: 1Last Post: 10th Jun 2009, 01:15 -
PHP code used to generate code for Avysinth join mov and avi files
By lindylex in forum User guidesReplies: 0Last Post: 19th Sep 2008, 03:37 -
Programming FFMPEG (Visual Basic)
By Ace-Of-Spades in forum ProgrammingReplies: 4Last Post: 9th Oct 2007, 06:18