Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

XdDocumentVersionMode Enumeration (Microsoft.Office.Interop.InfoPath.SemiTrust)

The XdDocumentVersionMode enumeration is used to determine how a Microsoft Office InfoPath 2007 form will be opened.

Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in microsoft.office.interop.infopath.semitrust.dll)

Public Enumeration XdDocumentVersionMode
Dim instance As XdDocumentVersionMode

 Member nameDescription
xdCanOpenInReadOnlyModeThe form is opened in read-only mode. 
xdCanTransformSignedThe form is opened and its transform applied, even though it has a digital signature. 
xdDoNotInstallActiveXCabsThe form is opened but ActiveX controls are not installed from the cab files. 
xdFailOnVersionMismatchThe form is created or opened only if it is accessible and its version number matches the version number of the form template. 
xdFailOnVersionOlderThe form is created or opened if its version number is older than the version number of the form template. Since the form is opened against a more recent version of the form template, an update will occur. 
xdIgnoreDataAdaptersQueryFailureThe form is opened even if the query associated with its data adapter fails to return data. 
xdPromptTransformSignedThe form is opened and the Digital Signatures dialog box is displayed before the form's transform is applied. This only occurs when the version number of the form is older than the version number of the form template. 
xdUseExistingVersionThe form is created or opened using the existing version number of the form template. 

These enumerated values are used as arguments to the New and Open methods of the ExternalApplication object and XDocumentsCollection collection.

Community Additions

© 2015 Microsoft