Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub TestGetFileName()
' From Access 97 Developer's Handbook
' by Litwin, Getz, and Gilbert (Sybex)
' Copyright 1997. All rights reserved.
Dim gfni As adh_accOfficeGetFileNameInfo
With gfni
.hwndOwner = Application.hWndAccessApp
.strAppName = "Delete Extra HTML"
.strDlgTitle = "Select an HTML File"
.strOpenTitle = "Select"
.strFile = ""
.strInitialDir = "C:\Windows\Temporary Internet Files\Cache1"
.strFilter = "HTML (*.html;*.htm)|HTM Files (*.htm)|HTX Files (*.htx)|All Files (*.*)"
.lngFilterIndex = 1
.lngView = adhcGfniViewList
.lngFlags = adhcGfniNoChangeDir Or adhcGfniInitializeView
End With
If adhOfficeGetFileName(gfni, True) = adhcAccErrSuccess Then
MsgBox "You chose: " & Trim(gfni.strFile), vbOKOnly, "Test Get File Name"
End If
End Sub