VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Copy the contents to a Class module and you've got a standard common dialog class, without using th

Alain Kinet  (1 Submission)   Registry   Visual Basic 5.0   Unknown Difficulty   Mon 6th September 1999   Mon 8th February 2021

Copy the contents to a Class module and you've got a standard common dialog class, without using the common dialog control

API Declarations



'API function declaration
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

'DLL function declaration
Private Declare Function GetOpenFileName Lib "comdlg32.dll" Alias _
"GetOpenFileNameA" (pOpenFileName As OPENFILENAME) As Long

'Module level variable declaration
Private mstrFileName As String
Private mstrInitDir As String
Private mstrDialogTitle As String
Private mstrFilter As String


Rate Copy the contents to a Class module and you've got a standard common dialog class, without using th (2(2 Vote))
Copy the contents to a Class module and you've got a standard common dialog class, without using th.bas

Copy the contents to a Class module and you've got a standard common dialog class, without using th Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters