How to Use the Windows Media Player Control in VB.NET
- 1). Click the Windows "Start" button and select "All Programs." Click "Microsoft .NET Framework" and click "Visual Studio" to open the software.
- 2). Right-click the toolbox panel in the left side of the window. Click "Choose Items" to open a new window.
- 3). Click the "COM Components" tab. In the list of toolbox items, check the box labeled "Windows Media Player." Click "OK." Notice the Media Player icon displays in the list of controls in the toolbox.
- 4). Drag and drop the control to a Web form. Visual Studio automatically sizes and draws the control on the form. Click the control to activate it and display the "Properties" window.
- 5). Click the "Browse" button in the properties window and select the video or sound file you want to play on the page. Click "Save" to save the changes.
Source...