i got a litle problem in getting a avi and mp4 file to open and to be played on Axwindowmediaplayer1
i feel i got my code correct but maybe it is not, but here it is
Using ofd As New OpenFileDialog
ofd.Filter = "Video File Only (*.mp4*)|*.mp4*|(*.avi*)|*.avi*"
ofd.Title = "Select File"
ofd.Multiselect = False
If ofd.ShowDialog() = Windows.Forms.DialogResult.OK Then
AxWindowsMediaPlayer1.URL = OpenFileDialog1.FileName
my aim is to make it open an mp4 or avi file and play it on the Axwindowmediaplayer1
thank in advance
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)