Visual Basic Programming Lesson 6 – Typing speed tester

In this lesson we create a typing speed tester program. We used the keydown event to make the program keep count of words every time the space bar is pressed. We calculated the typing speed by dividing the number of words by number of seconds and then multiplying by 60. The typing speed is continuously updated whenever the space bar is pressed. We also learned how to shift focus by code. Remember to change the textbox property for multiline to True if you want to wrap text in the textbox.