Starting Execution

See AlsoPG3UFJ

One way to test your application141RJVK 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 EndLANEND 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 syntax118Y4T0 error or some other compile error in your code.

         Visual Basic encounters a logicA9W34P 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.


See Also

Help:

Continuing ExecutionCZRW3ZU

Debugging Checklist4RVH0A6

Ending Execution4KTFWY

Halting Execution11S25K

Restarting ExecutionF5EDVC

Specifying a Startup Form1NHZZC6

 

Learning Visual Basic

Creating an Application

 

Programmer's Guide:

Chapter 2, "Your First Visual Basic Application"

Chapter 9, "Debugging"