I'm sure the dll's are a bit cooler, commondialogs comes with windows anyway:
Just in case you want to play around with it, otherways i could send you my opendialog classCode:Private Declare Function GetSaveFileName Lib "comdlg32.dll" Alias "GetSaveFileNameA" (pOpenfilename As OPENFILENAME) As Long Private Declare Function GetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long Private FileDialog As OPENFILENAME Private Type OPENFILENAME lStructSize As Long ' hwndOwner As Long ' hInstance As Long ' lpstrFilter As String ' lpstrCustomFilter As String 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 Long lpfnHook As Long lpTemplateName As String End Type![]()





Reply With Quote