i have a dialog based application with a combo box that stores the names of a set of cameras.what i want to do is, play the video from the corresponding camera when i select a name from the combo box.the video has to be played in a vlc player.i use vc++ .

In the combo box 'select item' event handler, use ShellExecute() to start VLC with the name of the file to play as argument.

You can use the returned process handle with WaitForSingleObject() (or any of the wait functions) to wait for VLC to finish.

Hope this helps.