Desktop Functions: Smart Device Functions:
|
Search Results for "FindExecutable" in [All]shell32
static extern IntPtr FindExecutable(string lpFile, string lpDirectory, [Out] StringBuilder lpResult);
Private Shared Function FindExecutable(ByVal lpFile As String, ByVal lpDirectory As String, ByRef lpResult As StringBuilder) As IntPtr 1) When using VB, one cannot place the declaration for FindExecutable within module. Within the module function, execute FindExecutable and return any
Public Enum FindExecutableErrorCodes
[DllImport("shell32.dll", EntryPoint="FindExecutable")]
public static extern long FindExecutableA(
public static string FindExecutable(
FindExecutableA(pv_strFilename,
MessageBox.Show(Win32API.FindExecutable(theMenuItem.Text)); shlwapiAlso see http://www.pinvoke.net/default.aspx/shell32.findexecutable (though this method is preferred, see http://visualstudiomagazine.com/articles/2009/10/13/finding-an-associated-executable.aspx). |