Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Please kindly suggest me Scanner TWAIN Web based free license for .NET Web Application.

I try to find it. I found only TwainX, but it work only IE not Chrome.

Thank you and Regards

:)
Posted
Comments
Zoltán Zörgő 11-Jul-13 7:55am    
What do you intend to achieve? PS: we can not "suggest license" - well, nobody could.

The problem you have here, is that browsers operate in a sand box which for very good security reasons aren't granted access to your hardware APIs.

The reason TwainX will work in IE is because IE supports ActiveX. This is a technology which will allow a website to construct a bridge, if you authorise it to, out of the sand box and into the operating system.

Firefox, Safari and Chrome do not support ActiveX. In fact I don't think there's a single technology which will work in the browser and on all browsers to achieve what you're trying to do.

Your best option would be to take it out of the browser.

.Net has a deployment mechanism called ClickOnce. This is supported by all major browsers (Some with additional browser extensions).

This will allow you to develop a Windows application which will be launched directly from your website and will perform your desired, hardware oriented task. Provide the result via a web service to your web server and then you'll be able to manage the response/feedback within the browser.

Unfortunately you can't migrate this to MacOS or Linux so it will be a Windows only solution.
 
Share this answer
 
Comments
jatu_p 11-Jul-13 13:31pm    
I have found not free "Dynamic Web TWAIN" of "Dynamsoft". Is it ActiveX?
Stephen Hewison 18-Jul-13 14:23pm    
It says on the home page. IE is ActiveX. For other browsers they have developed a number of plug-ins.
From a web page? You can't...at least not with HTML/JS-based pages.

It can be done with Silverlight however (I don't know how exactly, but we have a program that does it - obviously I can't post the code here). Specifically, you could add a Silverlight control to your page to support it, so you wouldn't need to redo your entire application in Silverlight.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900