The code from each site should be put in it's own standard module.
I can't really tell you where to call it from, because I don't know anything
about your form or how you are going to do the links. If it is for a command
button, you would call the functions in the code modules from the click event
of the command button.
Here is a sample where I call the dialog box to select a file:
'Flags Hides the Read Only Check and Only allow existing files
lngFlags = ahtOFN_HIDEREADONLY Or ahtOFN_FILEMUSTEXIST
'Set filter to show only Access Databases
strFilter = ahtAddFilterItem(strFilter, "Access (*.mdb,*.mde)",
"*.MDB;*.MDA")
'Call the Open File Dialog
Do While True
varGetFileName = ahtCommonFileOpenSave( _
OpenFile:=True, _
Filter:=strFilter, _
Flags:=lngFlags, _
DialogTitle:=strDialog)
If varGetFileName = "" Then 'User Clicked CANCEL
If MsgBox("Retry to select a Database " & vbNewLine & "Or" _
& vbNewLine & "Cancel to Quit", vbExclamation +
vbRetryCancel, _
"No Database Selected") = vbCancel Then
Exit Do
End If
Else
Exit Do
End If
Loop
NewDatabasePath = varGetFileName
And here is how you change it to a UNC path:
Me.datapath = fGetUNCPath(Left(varGetFileName, 2)) &
Right(varGetFileName, Len(strPath) - 2)