vbal
asked on
Edit the Auto-generated Reference to a COM Control
I am using the windows media player control in my app, whick created a reference to WMPlib. When I place the control on the form a reference called axWMPlib. However, the axWMPlib dll that is generated by vs does not contain all of the methods that are available from the WMPlib. For example:
Public Overridable Property currentPositionTimecode() As String
Member of: WMPLib.IWMPControls3
is not available to my control.
How can I edit the axWMPlib to include additional methods, properties that exist within the WMPlib.?
regards,
vbal
Public Overridable Property currentPositionTimecode() As String
Member of: WMPLib.IWMPControls3
is not available to my control.
How can I edit the axWMPlib to include additional methods, properties that exist within the WMPlib.?
regards,
vbal
ASKER
Bob,
I do have the sdk installed (9.0). Maybe I have added the wrong .dll to my tool box. I have done the following: Add/Remove items in tool box--->com components tab-->selected the windows media player from the list, which is:
c:\WINNT\system32\wmp.dll
I then placed the control on the form.
Do I need to take any steps in addition to what I have done.
Regards,
vbal
I do have the sdk installed (9.0). Maybe I have added the wrong .dll to my tool box. I have done the following: Add/Remove items in tool box--->com components tab-->selected the windows media player from the list, which is:
c:\WINNT\system32\wmp.dll
I then placed the control on the form.
Do I need to take any steps in addition to what I have done.
Regards,
vbal
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Using Windows Media Player with .NET
http://www.awprofessional.com/articles/article.asp?p=101752
Bob