FullName property

Returns the name of the map file, including its path on disk, as a string. Equivalent to the Path property of the Map object, followed by the current file system separator, and then followed by the Name property of the Map object. Not available for use with the MapPoint Control. Read-only String.

Applies to

Objects:  Map

Syntax

object.FullName

Parameters

Part Description
object Required. An expression that returns a Map object.

Remarks

To return the path and file name for the MappointControl object, use the FullMapName property of the MappointControl object.

This method was available for use with the Application object in previous versions of MapPoint, but that is now obsolete. See the Obsolete functions topic for more information.

Example

    Sub GetFullMapName()

  Dim objApp As New MapPoint.Application
  'Set up the application   objApp.Visible = True   objApp.UserControl = True   objApp.OpenMap objApp.Path + "\Samples\Clients.ptm"
  'Now get the full path and name of the map   MsgBox "Full map name: " + objApp.ActiveMap.FullName
  End Sub