I am Creating a webcam App using AForge.dll (VB.net 2015). When I run the Code (project), It Works. But when I run the exe it not works. Just on the webcam led. No video Preview. Just connecting. And also, Code and EXE not working for vb.net 2017. But i can access web cam with Camera app in Windows 10. In Vb.2015, i can access web cam in debug mode. But the exe cannot access the cam. In vb.net 2017 cannot access in debug mode also. I tried several sample apps (downloaded ). I tried using document camera and another PC. Is this windows security problem?
What I have tried:
Apps in code project and sample apps in the Internet.