The Application Object

The Application object represents the InfoPath application.

Application Object Methods

The Application object has four methods:

  • FormatString()— Formats a string according to the method's arguments. Security level 0.

  • NewADODBConnection()— Creates and returns a new ADO Connection object. Security level 3.

  • NewADODBRecordset()— Creates and returns a new ADO Recordset object. Security level 3.

  • Quit()— Security level 3.

The Quit() Method

The Quit() method is security level 3 and has a single boolean argument, which refers to whether the user is given the opportunity to save changes before InfoPath is closed. To close InfoPath without giving the user the option to save, use Application.Quit(false). In the initial release of InfoPath, ...

Get Microsoft® Office InfoPath™ 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.