Please excuse my ignorance but I'm new to this part of Access...
I was to click a button that will open a media player using the data in a field on the form as the file to open.
The DOS command would be: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "c:\movies\a\2012.mp4"
I have the following in Access:
Private Sub cmd_PlayMovie_Click()
Dim stAppName As String
stAppName = "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
Call Shell(stAppName, 1)
End Sub
This opens the player but how do I open the file name stored in the Form Field [DigitalLocation].
Any help would be greatly appreciated.
Jason
I was to click a button that will open a media player using the data in a field on the form as the file to open.
The DOS command would be: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "c:\movies\a\2012.mp4"
I have the following in Access:
Private Sub cmd_PlayMovie_Click()
Dim stAppName As String
stAppName = "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
Call Shell(stAppName, 1)
End Sub
This opens the player but how do I open the file name stored in the Form Field [DigitalLocation].
Any help would be greatly appreciated.
Jason