_Application2 methods

Office 2013 and later

The _Application2 type exposes the following members.

  Name Description
Public method CacheSolution Examines the form template in the cache and, if necessary, updates it from the published location of the form template.
Public method FormatString(Object, String, String) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.FormatString. (Inherited from _Application.)
Public method FormatString(Object, String, String) Formats the specified string or XML node according to the specified category and options parameters.
Public method IsDestinationReachable Gets a value indicating whether the specified Uniform Resource Locator (URL), universal naming convention (UNC) path, or IP address of the destination computer can be connected to from the client computer.
Public method NewADODBConnection() This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.NewADODBConnection. (Inherited from _Application.)
Public method NewADODBConnection() Creates and gets a reference to an empty ActiveX Data Objects (ADO) Connection object.
Public method NewADODBRecordset() This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.NewADODBRecordset. (Inherited from _Application.)
Public method NewADODBRecordset() Creates and gets a reference to an empty ActiveX Data Objects (ADO) Recordset object.
Public method Quit(Boolean) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.Quit. (Inherited from _Application.)
Public method Quit(Boolean) Quits the InfoPath application.
Public method RegisterSolution Installs the specified form template.
Public method UnregisterSolution Uninstalls the specified form template.
Top
Show: