Microsoft Visual Basic 2010 Step by Step eBook

(Tina Meador) #1

202 Part II Programming Fundamentals


Test the Timed Password program

Tip The complete Timed Password program is available in the C:\Vb10sbs\Chap07\Timed
Password folder.


  1. Click the Start Debugging button to run the program.


The program starts, and the 15-second clock starts ticking.


  1. Type open in the text box.


The asterisk characters hide your input, as shown here:


  1. Click the Try Password button.


The following message box opens on the screen, noting your incorrect response:


  1. Click OK, and then wait patiently until the sign-on period expires.


The program displays the time-up message shown in this message box:


  1. Click OK to end the program.

Free download pdf