A common need for developers is creating a web application user interface that is fully featured, dynamic, and fast. This is probably the biggest reason that ActiveX controls were designed. Nowadays, you can leverage the .NET framework to make similarly powerful web applications that give the user fast rich-client controls as well as access to client side only resources such as printers and scanners.
To do this, you must create a .NET UserControl object and embed it within an html tag. We have created several demos that use .NET UserControls to accomplish different tasks. There are also different ways to deploy your .NET UserControl. This page serves as an index to all of those demos to make finding what you need easier. Some pages have multiple versions of the demo posted, but for the most part any of the demos should be easy to port to another version of our .NET libraries. Check the version history section of your .NET help file for more details. Keep in mind that these controls run on the client side. Therefore if you are wanting to create an application that does something like OCR, you would have to deploy the entire OCR engine which could be up to 200+MB. In this kind of scenario you should consider uploading the image and doing the heavy processing on the server side to reduce redistributable size and complexity.
1. *
Description: Basic .NET UserControl that loads and displays an image.
Deployment: Medium difficulty deployment method where the client machine downloads a CAB file that runs Caspol.exe to add a URL code group to the .NET 2.0 Configuration.
Versions: 16, 17
Address:
https://www.leadtools.com/support/forum/posts/t8076-HOW-TO--Deploy-a--NET-UserControl-Using-Caspol-exe2. *
Description: Basic .NET UserControl that loads and displays an image and includes our automated annotations features.
Deployment: Medium difficulty deployment method where the client machine downloads a CAB file that runs Caspol.exe to add a URL code group to the .NET 2.0 Configuration.
Versions: 16, 17
Address:
https://www.leadtools.com/support/forum/posts/t8088-Annotations--NET-UserControl-with-Caspol-Deployment3.
Description: Print images stored on a server with a printer installed on the local machine.
Deployment: Simple deployment method where the client machine must create a URL code group in the .NET Framework 2.0 Configuration.
Versions: 16, 17
Address:
https://www.leadtools.com/support/forum/posts/t6418-HOW-TO--Print-Server-Side-Images-Locally-with-ASP-NET4.
Description: Scan images with TWAIN on the client side and upload the images to the server.
Deployment:
This post has the exact same example with four different deployment methods:
- Advanced deployment method where you give the UserControl a ComVisible GUID and register the DLL with RegAsm.exe. All of the files will be deployed in a CAB file which the codebase attribute of the tag references.
- Simple deployment method where the client machine must create a URL code group in the .NET Framework 2.0 Configuration.
- Advanced deployment method where you give the UserControl a ComVisible GUID and register the DLL with RegAsm.exe. All of the files will be deployed in a CAB file which the codebase attribute of the tag references. This is similar to the first, except that it fixes a limitation regarding updating the control.
- Medium difficulty deployment method where the client machine downloads
a CAB file that runs Caspol.exe to add a URL code group to the .NET 2.0
Configuration. *
Versions: 15, 16, 17
Address:
https://www.leadtools.com/support/forum/posts/t5166-Re--Scan-and-Upload-v16--NET-with-Caspol-exe-deployment5. *
Description: Scan images with TWAIN on the client side with WPF (XBAP).
Deployment:
Medium difficulty deployment method where the client machine downloads a CAB file that runs Caspol.exe to add a URL code group to the .NET 2.0 Configuration.
Versions: 16, 17
Address:
https://www.leadtools.com/support/forum/posts/t8451-HOW-TO--Create-a-WPF-Web-Application-with-Twain-Scanning* Uses most highly recommended deployment style
Edited by moderator Wednesday, September 23, 2020 10:05:12 AM(UTC)
| Reason: Removed deleted posts