Application.CacheSolution Method
Office 2007
| InfoPath Developer Reference |
Version Information
Version Added: InfoPath 2003
Syntax
expression.CacheSolution(bstrSolutionURI)
expression An expression that returns a Application object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| bstrSolutionURI | Required | String | The string that specifies the Uniform Resource Identifier (URI) of the form template. This parameter can be specified as a form definition (.xsf) file or a form template (.xsn) file. |
Return Value
Nothing
Remarks
If the form template that currently exists in the cache matches the form template from the published location, no caching takes place. If the computer is offline and the form is already in the cache, the cache is kept and no update will occur.
Example
In the following Visual Basic for Applications (VBA) example, the CacheSolution method of the Application object is used to cache a form template:
| Visual Basic for Applications |
|---|
|