Aside from scripts which may be run directly from windows and web browsers, VB
can also be used to create GUI applications. This is usually done in a development
environment with access to VB code libraries. The point of using a development
environment is to speed up and streamline the programming process. Someone has already
written the code for buttons, menus and launching windows. Unless you are trying to learn
how the underlying code works, there is no need to reinvent the wheel. MS Visual Basic
and other tools will allow you to create Windows applications with buttons and menus. Then
you must link these objects in the background with your custom coding.
Coding...
Exit Button
Private Sub cmdExit_Click()
End
End Sub
Print Button
Private Sub cmdPrint_Click()
frmFormName.PrintForm
End Sub