The following "Open file dialog box" code allows a user to browse through the folder and save a file at the user specifed location. It works perfectly in MS Access 2003:
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 is
not require.", _
FileName:="Filename is not required. Click Save to continue", _
Flags:=ahtOFN_HIDEREADONLY)
However, after upgrading to MS Access 2010. The Open File dialog Box stop working. While in the debugger, every line executes without encountering any errors, but the dialog box will not open. Has anyone experienced a similar problem after upgrading to MS Access 2010. This problem occurrs on a Windows 7, 64bit PC only. Please Advise...
Thanks.
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 is
not require.", _
FileName:="Filename is not required. Click Save to continue", _
Flags:=ahtOFN_HIDEREADONLY)
However, after upgrading to MS Access 2010. The Open File dialog Box stop working. While in the debugger, every line executes without encountering any errors, but the dialog box will not open. Has anyone experienced a similar problem after upgrading to MS Access 2010. This problem occurrs on a Windows 7, 64bit PC only. Please Advise...
Thanks.