Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I am debugging an application in Visual Basic and stop the debugger while the application is running, I get a error in Visual Basic and it closes down. How can I correct or avoid this issue?

0
Posted

When I am debugging an application in Visual Basic and stop the debugger while the application is running, I get a error in Visual Basic and it closes down. How can I correct or avoid this issue?

0

This is an issue with any development environment, not just Visual Basic. The issue is that the DirectShow filters are still trying to stream to the preview window but it is no longer available. What you need to do to avoid this issue is to stop the stream and close the preview window either by closing the preview dialog box or by calling LucamDestroyDisplayWindow(), if it was created by the LuCam API.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.