OverviewExamples
File.Open ( |
Opens a document file with its default viewer application.
Note: If this action fails with the "open" shell verb, it drops through and tries the default shell verb for the file type.
(string) The path to the document.
(string) The working folder to set for the document.
Note: This sets the current directory for the operation to something other than the folder that the file is in. Normally, you can just leave it blank.
(number) The window mode to use:
CONSTANT |
VALUE |
DESCRIPTION |
SW_SHOWNORMAL |
1 |
Normal. (Default) |
SW_MAXIMIZE |
3 |
Maximized. |
SW_MINIMIZE |
6 |
Minimized. |
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions