Share via


DefaultFilePath property

Returns the default path that MapPoint uses when opening files. Read-only String.

Applies to

Objects: Application

Syntax

object.DefaultFilePath

Parameters

Part

Description

object

Required. An expression that returns an Application object.

Example

  Sub FindDefaultFilePath()

  Dim objApp As New MapPoint.Application

  'Set up the application
  objApp.Visible = True
  objApp.UserControl = True

  'Get the application default file path
  MsgBox "Default file path: " + objApp.DefaultFilePath

  End Sub