I program using Visual C++ 2008. MFC Application.
I was creating a program to open a Media (.avi) file. The default association of avi files is the Windows Media Player. Now in the program I want to load a button that when clicked will open the specified avi file using the VLC Media Player installed.
I would highly appreciate if an example code is provided.
For Instance :-
Video File Location : D:\My Videos\ABC XYZ.avi
VLC File Location : E:\Program Files\VLC Media Player\vlc.exe
Please provide a OnButtonClicked Function for the above Instances.
Thanks in advance.