第一步:在菜单“工具”──>选择工具箱项──>COM组件──>Windows Media Player──>确定
第二步:将工具箱中的“Windows Media Player” 拖至Form中,名称"axWindowsMediaPlayer1"
第三步:在适当事件中添加
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
第一步:在菜单“工具”──>选择工具箱项──>COM组件──>Windows Media Player──>确定
第二步:将工具箱中的“Windows Media Player” 拖至Form中,名称"axWindowsMediaPlayer1"
第三步:在适当事件中添加