Opens the given object file in the default application as specified.
Visual Basic |
---|
Public Sub OpenFileInDefaultApplication( _ ByVal ParentWindow As Long, _ ByVal ObjVer As ObjVer, _ ByVal FileVer As FileVer, _ ByVal FileOpenMethod As MFFileOpenMethod _ ) |
Value | Description |
---|---|
MFFileOpenMethodEdit | Open for editing; the file is automatically checked out. |
MFFileOpenMethodOpen | Default file open behavior; a checkout prompt may be displayed. |
MFFileOpenMethodShowInShell | Displays the file in the M-Files user interface window. |
MFFileOpenMethodView | Open for viewing; no checkout prompt. |
This method is available only if M-Files API is used in the client interface mode.