Unable to preview camera

I want to create a preview webcam and get the snapshoot of the image. But I cannot initialize the camera. I have built-in notebook web camera and logitech portable web camera. As image below, I have also download sample AForge program to test but it failed. BUT, when using Win10 Camera app, it can show both camera. Any help/clarification to handle this?
Two Cameras Test

Simple Player
Win10 Camera App
HP HD Camera

Logitech

Code snippet follow sample from:
AForge-examples
Video Samples
Two Cameras Test

Simple Player
Win10 Camera App
HP HD Camera

Logitech

Code snippet follow sample from:
AForge-examples
Video Samples