Access webcam and microphone input in VB.net

余生颓废 提交于 2019-12-20 06:13:43

问题


How can you access the webcam and microphone in VB.net, assuming the user even has one?

I fail to see a My.Computer.Webcam or My.Computer.Microphone, both of which would probably have been a nice addition.

Thanks for the help! If there is no easy method for doing this, what is the name of the driver that handles this and what methods should I use to make this work?


回答1:


Cyclone, you can use DirectShow .Net Library to access the webcam and microphone here a example

  • Webcam using DirectShow.NET (Vb .Net)

bye.



来源:https://stackoverflow.com/questions/1451627/access-webcam-and-microphone-input-in-vb-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!