B
Brian
I use the comdlg32 API call for locating files, particularly back-end MDB's
in order to refresh the table links.
I now have a need to browse just for a path (not a file) and populate a text
box with the path. I can't figure out how to browse for just the path without
the file.
Here is the function declaration line at the beginning of my code (followed
by lots of lines of stuff that's mostly Greek to me but works to return the
file path & name)
Public Declare Function GetOpenFileName Lib "comdlg32.dll" Alias
"GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long
So, where do I start if I want to capture a path via the browse, but not a
file.
in order to refresh the table links.
I now have a need to browse just for a path (not a file) and populate a text
box with the path. I can't figure out how to browse for just the path without
the file.
Here is the function declaration line at the beginning of my code (followed
by lots of lines of stuff that's mostly Greek to me but works to return the
file path & name)
Public Declare Function GetOpenFileName Lib "comdlg32.dll" Alias
"GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long
So, where do I start if I want to capture a path via the browse, but not a
file.