OnStartupComplete event
The OnStartupComplete event procedure runs code that interacts with MapPoint; do not run it until MapPoint has finished startup. For example, if you want to display a form that gives users a choice of maps to create when they start MapPoint, you can put that code in the OnStartupComplete event procedure.
In the case where the COM add-in loads at startup, the OnStartupComplete event occurs when MapPoint completes its startup routines, after all add-ins have received their OnConnection event. If the add-in is loaded from the COM Add-ins dialog box by the user after MapPoint starts, only the OnConnection event is sent.
Syntax
object.OnStartupComplete(Custom)
Part | Description |
---|---|
object | An expression that evaluates to a COM add-in. |
Custom | Variant. An empty array; ignored in COM add-ins for MapPoint. |