UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Custom Search
Edit Discussion
> ShellExecute    
CODE
Private Declare PtrSafe Function ShellExecute Lib "shell32.dll" _
   Alias "ShellExecuteA" _
   (ByVal hWnd As LongPtr, _
   ByVal lpOperation As String, _
   ByVal lpFile As String, _
   ByVal lpParameters As String, _
   ByVal lpDirectory As String, _
   ByVal nShowCmd As Long) _
As LongPtr

NOTE: The code reflects a possible number(s) of declarations. Depending on your specific needs, you may want different syntax. For details on how to declare an API procedure, consult API article. For pre-VBA7 (pre-Access 2010) compatible syntax, there are several sites that already documents the same API in more details. ALLAPI at mentalis.org is one such resource.

MSDN Reference: ShellExecute
See other pages that uses ShellExecute

Edit Discussion
Custom Search
Thank you for your support!
This page has been accessed 7,323 times.  This page was last modified 17:21, 14 May 2011 by BananaRepublic. Contributions by Jack Leach  Disclaimers