VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Calls the Open File Dialog without need for an OCX

T-REX Software  (14 Submissions)   Windows API Call/Explanation   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Wed 24th March 1999   Mon 8th February 2021

Calls the "Open File Dialog" without need for an OCX

API Declarations


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

Private Declare Function GetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long


Rate Calls the Open File Dialog without need for an OCX (2(2 Vote))
Calls the Open File Dialog without need for an OCX.bas

Calls the Open File Dialog without need for an OCX Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters