@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Performs an operation on a specified file. !!!!C# Signature: [DllImport("Shell32.dll", CharSet = CharSet.Auto, SetLastError = true)] static extern IntPtr ShellExecute(IntPtr hwnd, string lpOperation, string lpFile, string lpParameters, string lpDirectory, int nShowCmd); !!!!VB Signature: <DllImport("Shell32", CharSet:=CharSet.Auto, SetLastError:=True)> _ Public Shared Function ShellExecute(hwnd as IntPtr, lpOperation as String, lpFile as String, pParameters as String, lpDirectory as String, nShowCmd as Integer) As IntPtr End Function !!!!User-Defined Types: None. !!!!Alternative Managed API: !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: //Opens a URL in the default browser IntPtr result = ShellExecute(IntPtr.Zero, "open", "http://www.google.com", null, null, 1); Documentation: ShellExecuteExW@msdn on MSDN
Edit shell32.ShellExecute
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.