Share via


Quit method

Quits the application. Displays the Save dialog box if the Saved property for the currently active map is False. This method is not available when MapPoint is embedded or for the MapPoint Control.

Applies to

Objects:  Application

Syntax

object.Quit

Parameters

Part Description
object Required. An expression that returns an Application object.

Example

    Sub QuitTheApplication()

  Dim objApp As New MapPoint.Application
  'Set up application   objApp.Visible = True   objApp.UserControl = True
  'Get the name of the app   MsgBox "Application name: " + objApp.Name
  'Quit the application   objApp.Quit
  End Sub