Activate method
Activates the instance of MapPoint associated with the specified Application object. Not available for the MapPoint Control.
Applies to
Objects: Application
Syntax
object.Activate
Parameters
Part |
Description |
---|---|
object |
Required. An expression that returns an Application object. |
Example
Sub MakeMapPointActive()
Dim objApp As New MapPoint.Application
Dim objExcel As New Excel.Application
'Set up MapPoint, then Excel
objApp.Visible = True
objApp.UserControl = True
objExcel.Visible = True
'Now give MapPoint the focus again
objApp.Activate
End Sub