A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



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

Library
Shell32

Parameter Information
- lpExecInfo
Pointer to a SHELLEXECUTEINFO structure that contains and receives information about the application to start.

Return Values
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.

Last update: 07 April 2006