Sorry,does anyone know how to play a video file in visual c++ window form application?I need to play a video file in it..but have no idea about hw to do it..Thanks.

In VS2005, right-click on the toolbox, click on the menu item 'Choose Items', go to the tab 'COM Components', and check the 'Windows Media Player' check box. You can then drag that control into your form application. You will need to use google to figure out how to use this control properly, as I doubt many people here have the answer to that :P

Hope this helped.