Hi
I am using the Windows Media Player Activex control, that just looks like Windows Media Player when dragged onto the form.
The only code associated with it is
- Private Sub Form_Current()
-
Me.WindowsMediaPlayer7.URL = Me.[File]
-
' Provide a record counter for using with
-
' custom navigation buttons (when not using
-
' Access built in navigation)
-
-
Set rst = Me.RecordsetClone
-
-
With rst
-
.MoveFirst
-
.MoveLast
-
lngCount = .RecordCount
-
End With
-
-
'Show the result of the record count in the text box (txtRecordNo)
-
-
Me.txtRecordNo = "Record " & Me.CurrentRecord & " of " & lngCount
-
-
-
End Sub
of which only first line is associated with the player
This relates to a memo field in the form that contains the relative path to the mp3 file