Hello,
I'm using the following Open/Save Dialog Box function(code excerpt):
Dim strInputFileName As String
Dim strfilter As String
strfilter = ahtAddFilterItem(strfilter, _
"Portable Doument Format (*.pdf)", "*.PDF")
strInputFileName = ahtCommonFileOpenSave(Filter:=strfilter, OpenFile:=False, _
DialogTitle:="Please select a Directory location for your report...", _
FileName:="Traditional Well", _
Flags:=ahtOFN_HIDEREADONLY)
I would like to know, how do I go about retrieving the user's response from the dialog form, using the above fuction(i.e. when the user clicks the Close or Cancel buttons)? Also, is there a way to suppress the Filename and Filetype fields from the dialog form? Since, I'm only interested in knowing the location of where the user wants their report files stored. Subsequent code will name the report files automatically.
Thanks in Advance,
Cliff
I'm using the following Open/Save Dialog Box function(code excerpt):
Dim strInputFileName As String
Dim strfilter As String
strfilter = ahtAddFilterItem(strfilter, _
"Portable Doument Format (*.pdf)", "*.PDF")
strInputFileName = ahtCommonFileOpenSave(Filter:=strfilter, OpenFile:=False, _
DialogTitle:="Please select a Directory location for your report...", _
FileName:="Traditional Well", _
Flags:=ahtOFN_HIDEREADONLY)
I would like to know, how do I go about retrieving the user's response from the dialog form, using the above fuction(i.e. when the user clicks the Close or Cancel buttons)? Also, is there a way to suppress the Filename and Filetype fields from the dialog form? Since, I'm only interested in knowing the location of where the user wants their report files stored. Subsequent code will name the report files automatically.
Thanks in Advance,
Cliff