One way to test your application is to run it and work with it as a user would.
To start execution
1. From the Run menu, choose Start (F5), or use the toolbar shortcut:
2. Test your application by using each control on each form.
The program ends when all forms are closed and no code is executing, when Visual Basic encounters an End statement in your code, or when you choose the End command from the Run menu or use the toolbar shortcut: .
If your application doesn't run, it may be because:
Visual Basic encounters a syntax error or some other compile error in your code.
Visual Basic encounters a logic error in your code, which may result in a compile or run-time52C78KR error.
To get context-sensitive Help, press F1 while an error message is on the screen. Consider the suggestions provided to correct the error before you try to execute the application again.
Specifying a Startup Form
Learning Visual Basic
Creating an Application
Chapter 2, "Your First Visual Basic Application"
Chapter 9, "Debugging"