Hi
I am having an issue with the following coding throwing back an error after I have converted a database to 2002-2003 File Format so that I can MBE the database.
The user-defined error is coming up at the line
. When I check the difference in the references, the reference "Microsoft Common Dialog Control 6.0 (SP3)" is in the uncovented database and it does not appear at all in the 200-2003 version.
If anyone could help me solve this little query I would be most appreciated.
Thank you
AK
I am having an issue with the following coding throwing back an error after I have converted a database to 2002-2003 File Format so that I can MBE the database.
Code:
Private Sub Btn_Hyperlink_Click()
Dim dlgPickFiles As FileDialog
Dim strFilePath As String
Set dlgPickFiles = Application.FileDialog(msoFileDialogFilePicker)
With dlgPickFiles
.AllowMultiSelect = False
.Filters.Clear
.Filters.Add "Adobe Files", "*.pdf"
End With
If dlgPickFiles.Show Then
strFilePath = dlgPickFiles.SelectedItems.Item(1)
End If
'strCompleteHyperlink is Declared in the Form's Code Module
'(Private strCompleteHyperlink As String)
strCompleteHyperlink = strFilePath & "#" & strFilePath
Set dlgPickFiles = Nothing
Me.Txt_HyperLink = strFilePath
End Sub
Code:
Dim dlgPickFiles As FileDialog
If anyone could help me solve this little query I would be most appreciated.
Thank you
AK
Comment