Is there a way to have a web cam record in vb?

This is going to be hard for me to test, because i dont have a web cam.. so i am going to trust you code until i can test it