//出現此種情況,極可能是版本問題..下面代碼..測試成功
private void button1_Click(object sender, System.EventArgs e)
{
OpenFileDialog f=new OpenFileDialog();
f.Filter="all file(*.*)|*.*";
if(f.ShowDialog()==DialogResult.OK)
{
axWindowsMediaPlayer1.URL=f.FileName;
}
}
private void button2_Click(object sender, System.EventArgs e)
{
axWindowsMediaPlayer1.controls.play();
}
private void button3_Click(object sender, System.EventArgs e)
{
axWindowsMediaPlayer1.controls.stop();
}
我的msn: myfend@