如何设置 Windows 媒体播放器“快速设置”以编程方式?
有人可以帮助我如何以编程方式设置 Windows Media Player Express 设置吗?我添加了 WMPLib 的引用并创建了一个媒体播放器对象并尝试播放像 wmp.OpenPlayer("c:\xxx.mp3"); 这样的文件
这里媒体播放器启动,但在干净的 Windows XP SP3 计算机上,媒体播放器要求在播放文件之前进行配置。如何以编程方式配置此部分,或者有什么方法可以跳过这部分并播放文件?
Can anybody help me how to set the windows media player express settings programmatically? I have added reference for WMPLib and created a media player object and trying to play a file like wmp.OpenPlayer("c:\xxx.mp3");
Here the media player launches but on a Clean Windows XP SP3 machine, the media player asking to configure before playing the file. How to configure this programmatically or is there any way to skip this part and play the file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据 链接。我还没有测试过它,所以我不能 100% 确定它是否有效。您需要更改注册表中的一些值。 本页介绍如何写入注册表。希望这有帮助!
It seems like it is possibe according to link. I haven't tested it though, so I'm not 100% sure if it works. You need to change some values in the registry. This page describes how to write to the registry. Hope this helps!