is there a way to view videos and music through a form using some control

Windows Media Player control can be added to form, it can play both music and video. First you must add it to your Toolbox, do this with Toolbox context menu "Choose items..", browse the COM tab and select "Windows Media Player". Now you can add the control to form like any other control.

To play music/video set the URL property to the (path+)filename. If you don't want user interface controls change the uiMode property from "full" to "none", in this case you also may want disable the player context menu by setting the enableContextMenu property to False.
 
Back
Top