-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Failed to add a video capture filter.': Value does not fall within the expected range #49
Comments
Hello, here are the sources of demo app: |
Thanks. The demo app works OK though. Are there elements amongst this that I need to copy / install into my other program? |
No, the demo app installs all dependencies automatically, you just need to build it. You can use the demo app solution as a starting point for your app. |
That's what I thought! I had copied the code elements from the Demo App into my app - it compiles OK but I get the above error on clicking the Start button. I'll try it the other way round - import my code into the Demo App, which is working, and see what happens |
If you start a new solution, then you have to add a Nuget package by running the following command in the Nuget console: Install-Package WebEye.Controls.Wpf.WebCameraControl |
Yes - did that. I was able to see the dll and put the control into the Toolbox, from where I added it to my form |
As a new c# programmer I am trying to integrate the webcamera control into an existing program. I have )I think) installed all the required bits - and the demo program runs fine on my pc. However I am getting the 'Failed to add a video capture' error when implemented within my own program, with the 'Inner Exception' ArgumentException: Value does not fall within the expected range.
Any help much appreciated!
The text was updated successfully, but these errors were encountered: