Use the End method of the App object to terminate the application.
object.End
The parts of the End method syntax are described in the following table.
| Part | Description | 
|---|---|
| object | Required. An object expression that evaluates to an object. | 
This method is unique to Windows CE Toolkit for Visual Basic 5.0.