ShellExecuteEx The ShellExecuteEx function performs an action on a file. The file can be an executable file or a document.
VB4-32,5,6
Declare Function ShellExecuteEx Lib "shell32.dll" Alias "ShellExecuteEx" (SEI As SHELLEXECUTEINFO) As Long |
VB.NET
System.Diagnostics.Process |
Operating Systems Supported |
Requires Windows NT 4.0 or later; Requires Windows 95 or later |
- lpExecInfo
Pointer to a SHELLEXECUTEINFO structure that contains and receives information about the application to start. |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError. |
|