The ArcPad Tools Extension.
Not all instances of ArcPadExtension support IExtension, IArcPadExtension, IArcPadDefaults, or IArcPadDefaultsEdit. Check if the object reference is of the appropriate object type using the TypeOf operator before using QI with these interfaces.
Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.
| Interfaces | Description |
|---|---|
| IArcPadDefaults | Provides access to the ArcPad Default Settings. |
| IArcPadDefaultsEdit | Provides access to the ArcPad Default Settings. |
| IArcPadExtension | Provides access to the ArcPad Extension. |
| IArcPadTransaction | Provides access to the ArcPad transaction methods. |
| IExtension (esriSystem) | Provides access to members that define an extension. |
| ISupportErrorInfo | Indicates whether a specific interface can return Automation error objects. |
The following VBA code example illustrates how to acquire a reference of type IArcPadExtension to the ArcPadExtension object.
Sub GetArcPadExtensionByCLSID() Dim pArcPadExtension As IArcPadExtensionDim pID As New UID pID = "editorExt.ArcPadExtension" Set pArcPadExtension = Application.FindExtensionByCLSID(pID) End Sub