Installation - Visual Studio 2010 and later
You can use the ActiveX control directly in your C++ project, but in C#/VB.Net, Visual Studio will make a custom wrapper assembly to provide ActiveX API in managed code.
Create a new project (C++, C#, or Visual Basic .Net). Depending on the project type, the steps may vary slightly. Visual Studio may require both x86 and x64 ActiveX controls to be registered because even for x64 application output, Visual Studio may use x86 for the UI designer.
Open the “Choose toolbox items” dialog.
Select the “VisioForge Video Capture” item.
The new control has been added to the toolbox.
Add the control to the form. In .Net project types, Visual Studio will generate a custom wrapper assembly to facilitate the use of the ActiveX API in managed code.
You can check framework samples for all supported programming languages after installation.
For .NET applications, we highly recommend using the native .NET version of the SDK instead of ActiveX. It offers greater power and flexibility, allowing you to seamlessly integrate native WinForms, WPF, and MAUI controls.
Please get in touch with support to get help with this tutorial. Visit our GitHub page to get more code samples.