public static System.Diagnostics.Process Start(string fileName)
Member of System.Diagnostics.Process
Summary:
Starts a process resource by specifying the name of a document or application file and associates the resource with a new System.Diagnostics.Process component.
Parameters:
fileName: The name of a document or application file to run in the process.
Return Values:
A new System.Diagnostics.Process component that is associated with the process resource, or null, if no process resource is started (for example, if an existing process is reused).
Exceptions:
System.ObjectDisposedException: The process object has already been disposed.
System.ArgumentException: The fileName parameter is null.
System.IO.FileNotFoundException: The PATH environment variable has a string containing quotes.
System.ComponentModel.Win32Exception: There was an error in opening the associated file.
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0