看板 C_Sharp 關於我們 聯絡資訊
我在 http://blog.csdn.net/zzmdegm/archive/2007/12/04/1915364.aspx 找到了如額抓取視訊畫面的方法 已經可以如期的打開和關上視訊 但是在抓取畫面的時候 我遇到了問題 就是說 我是這樣寫的 private void btnSnapPic_Click(object sender, System.EventArgs e) { //得到路徑。例:d:\a.bmp string myPath="d:\a.bmp"; if(myPath=="") { MessageBox.Show("必须填寫路徑!"); return; } else { wcam.grabImagePath=myPath; wcam.GrabImage(); MessageBox.Show("截圖成功!"); } } 但是每次都是會秀出"截圖成功"的畫面 但是在d潮並沒有發現到擷取的畫面 請問我應該修改哪裡呢? 感謝@@ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.115.70.160
toki:試試 myPath=@"d:\a.bmp" or myPath="d:\\a.bmp" 10/01 22:45
jason1015:感謝...可以囉^^ 10/02 00:30