M-Files API 22.6.11519.0
OpenFileInDefaultApplication Method
VaultObjectFileOperations Object : OpenFileInDefaultApplication Method
Description
Opens the given object file in the default application as specified.
Syntax
Visual Basic
Public Sub OpenFileInDefaultApplication( _
   ByVal ParentWindow As Long, _
   ByVal ObjVer As ObjVer, _
   ByVal FileVer As FileVer, _
   ByVal FileOpenMethod As MFFileOpenMethod _
) 
Parameters
ParentWindow
ObjVer
FileVer
FileOpenMethod
ValueDescription
MFFileOpenMethodEditOpen for editing; the file is automatically checked out.
MFFileOpenMethodOpenDefault file open behavior; a checkout prompt may be displayed.
MFFileOpenMethodShowInShellDisplays the file in the M-Files user interface window.
MFFileOpenMethodViewOpen for viewing; no checkout prompt.
Remarks

This method is available only if M-Files API is used in the client interface mode.

See Also

VaultObjectFileOperations Object  | VaultObjectFileOperations Members