Scanner SDK ActiveX

Scanner SDK ActiveX

Platform : Windows 10, Windows 8, Vista, Windows 7, XP

For Windows Developers who need to capture image from scanner, digital camera or capture card that has a TWAIN device driver with C , C#, VB.NET , VB, Delphi, Vfp, MS Access.

Popular Solution Go   Back

C# - How to Add TWAIN Scanning features to WinForm application from NuGet Packages

Step 1: Close the Visual Studio 2019.

Step 2: Run the Visual Studio 2019  as Administrator.  Right click on your VS product and select Run as administrator.

Step 3: Select Visual C# or Visual Basic, Select Windows Form Application.

Step 4: Select your project in Solution Explorer, Right click the mouse, select Manage NuGet Packages...

Step 5: This brings up the NuGet Package Manager, enter "scannercontrol" in search textbox , then select Viscomsoft.ScannerControl.WinForms.x86 package and click Install button.

Step 6: Now you will see DllRegisterServer in scanner.ocx successful Message Box. If not, you should close the Visual Studio 2019. Run the Visual Studio 2019  as Administrator again.

Step 7: Select Toolbox, select Components item, right click mouse button, select Choose Items...


Step 8:  Select COM Components tab, select Scanner Control , click OK.

Step 9: Now the Scanner SDK ActiveX Control's icon will display on Toolbox.

Step 10:  Drag the Scanner SDK ActiveX Control from toolbar to form and add button to form. Change the caption of button to Scan.

Step 11:  Double click the Scan button. Add the below code on button1_Click.

 private void button1_Click(object sender, EventArgs e)


     bool bResult= this.axScanner1.SelectImageSource();


      if (!bResult)






Step 12: Press F5 to Run the project. Click the scan button, it will capture the image from scanner. Make sure you installed TWAIN scanner driver.

Download more Samples from