Adapting the Generated Program 

After you generate a Visual Basic program, you can adapt it as desired. See the following tips on using generated code.

Understanding Generated Code

Avoiding Menus

Finding Controls