Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "FindExecutable" in [All]

shell32

.
Summary
.

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

.
Documentation
[FindExecutable] on MSDN
.

        [DllImport("shell32.dll", EntryPoint="FindExecutable")]

.

        public static extern long FindExecutableA(

.

        public static string FindExecutable(

.

                FindExecutableA(pv_strFilename,

.

    MessageBox.Show(Win32API.FindExecutable(theMenuItem.Text));

shlwapi

.

Also 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).


 
Access PInvoke.net directly from VS: