标题:vb WindowsMediaPlayer
只看楼主
amei991
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-10-28
 问题点数:0 回复次数:0 
vb WindowsMediaPlayer
Private Sub Command1_Click()
WindowsMediaPlayer1.URL = "d:\0.mp3"
WindowsMediaPlayer1.Controls.play
If WindowsMediaPlayer1.playState <> wmppsPlaying Then
WindowsMediaPlayer1.URL = "d:\3.mp3"
WindowsMediaPlayer1.Controls.play
End If
End Sub
思路是点击COMMAND1播放0.mp3
结束
如果不能播放0.mp3则播放3.mp3
结束
看看我这条程序错在哪了?
2006-10-28 23:52



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-99444-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.688983 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved