winexec (kernel32)
Last changed: -94.74.164.38

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern uint WinExec(string lpCmdLine, uint uCmdShow);

VB.NET Signature:

<DllImport("kernel32.dll")> _
Public Function WinExec(ByVal lpCmdLine As String, ByVal uCmdShow As System.UInt32) As System.UInt32
End Function

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

For VB.NET:

    Dim SW_HIDE As System.UInt32 = Decimal.ToUInt32(0)
    Dim SW_SHOW As System.UInt32 = Decimal.ToUInt32(5)

    WinExec(strFilename, SW_SHOW)

Alternative Managed API:

Do you know one? Please contribute it!!

Documentation
WinExec on MSDN