UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Custom Search
Edit Discussion
> GetSaveFileName    
CODE
Private Type OPENFILENAME
   lStructSize As Long
   hwndOwner As LongPtr
   hInstance As LongPtr
   lpstrFilter As String
   lpstrCustomFilter As LongPtr
   nMaxCustFilter As Long
   nFilterIndex As Long
   lpstrFile As String
   nMaxFile As Long
   lpstrFileTitle As String
   nMaxFileTitle As Long
   lpstrInitialDir As String
   lpstrTitle As String
   Flags As Long
   nFileOffset As Integer
   nFileExtension As Integer
   lpstrDefExt As String
   lCustData As LongPtr
   lpfnHook As LongPtr
   lpTemplateName As LongPtr
End Type

Private Declare PtrSafe Function GetSaveFileName Lib "comdlg32.dll" Alias "GetSaveFileNameA" ( _
  lpOFN As OPENFILENAME _
) As Boolean

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: GetSaveFileName
See other pages that uses GetSaveFileName

Edit Discussion
Custom Search
Thank you for your support!
This page has been accessed 4,260 times.  This page was last modified 20:17, 5 February 2014 by BananaRepublic.   Disclaimers