问题
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