View Single Post
Old Aug 7th, 2005, 2:31 AM   #2
George Giolfan
Newbie
 
Join Date: Aug 2005
Location: Romania
Posts: 13
Rep Power: 0 George Giolfan is on a distinguished road
Playing media clips in VB.NET

Create a form and remove its borders and maximize it. Add the Media Player ActiveX Control. Arrange its layout. Hide any interface on the control and disable autostart. Open the media clip. Add keyboard handling (this is rather complicated with ActiveX controls). Show the form modally and start playing the media clip. After the media clip finishes, close the form.
To hide controls in a Media Player ActiveX Control, you can use :
MyMediaPlayerInstance.UiMode = "none"
George Giolfan is offline   Reply With Quote