May 2010
Intermediate to advanced
1272 pages
61h 18m
English
Create a new Windows Forms project with Visual Basic and, when ready, open the Visual Studio toolbox. When done, right-click the toolbox and select Choose Items. This launches the same-named dialog that you already know because of adding .NET controls to the toolbox. Select the COM tab and search for the Windows Media Player item, as shown in Figure 49.1.
Figure 49.1 Choosing a COM component to add to the toolbox.

When you click OK, Visual Studio generates two files for you:
• Interop.WMPLib.dll, which is a CLR wrapper for using COM objects exposed by the Windows Media Player type library in a .NET fashion ...
Read now
Unlock full access