There are many ways to open the file, but I learned that the use of more is the above--, in order to prevent forgetting later, the first to write down the understanding.
1. Shell
This read a lot of web pages, the most reliable way to use:
Shell ("" " ) to open a file by invoking the cmd command with the shell
But the problem is that the command window won't shut down--open it together and need to continue digging.
2, IO. File.Open
This operation is not a problem, but does not appear, the second execution will be error: The process is already running.
Do not understand, first remember.
3, Process.Start (this I like)
This is easy to understand, vb.net, direct use, and a variety of overloads, remember right: "Go To Definition"
4. ShellExecute API
This is the API, the key is to introduce the API, but also a good thing.
vb.net shell, IO. File.Open, Process.Start, ShellExecute API Application Experience Summary