-2

I want to scan document on client side in asp.net web application. Is there any right path to use Scanner on Client machine in asp.net?

halfer
  • 19,824
  • 17
  • 99
  • 186

2 Answers2

2

As far as I know, you can't control a local resource like a scanner. Sorry =/

Razieltje
  • 357
  • 1
  • 7
  • 1
    if it's an intranet, you could always try using a supplementary application? [this](http://www.codeproject.com/Articles/493333/Client-Side-Printing-Scanning-in-NET) could help you en route. Another option, is simply providing your users to upload a pdf. That does oblige them to firstly scan and save it to their local device. – Razieltje May 20 '15 at 11:30
  • The case is user will enter and save the details of customer then scan their documents and save to DB. scan is mandatory for their documents, plz suggest – Manjeet Singh May 20 '15 at 11:34
  • I would propose to your user(s) to scan the documents first (locally) then upload en save the details of the customer. =/ – Razieltje May 20 '15 at 11:35
  • If this answer suffices to your question, do not forget to mark it as answered! – Razieltje May 20 '15 at 12:05
  • still waiting for any logical reply – Manjeet Singh May 22 '15 at 05:04
  • the only logical answer I can propose in your case is the following steps: a) user scans document and saves to local PC. b) User uploads the file to the db using a form, also entering the other needed data. Then the form can parse all to the db. Hope this helps you. – Razieltje May 22 '15 at 06:26
  • Is it possible to call windows Application into web application , it might be solve the problem? – Manjeet Singh May 22 '15 at 06:38
  • You could try the steps found [here](http://stackoverflow.com/questions/916925/how-to-launch-an-exe-from-web-page-asp-net). Good luck! – Razieltje May 22 '15 at 06:43
  • If windows application called something like this then task can be achive – Manjeet Singh May 22 '15 at 06:51
  • Another option is to create a windows application, that sends the data to a web service. This way you can scan the file directly from within the winforms, and send all data to your webserver. If this answer resolves your issue, do not forget to mark it as such – Razieltje May 22 '15 at 06:59
  • yes, This can be solve my problem,but I need a proper demo for this , how to access win Form in Services. – Manjeet Singh May 22 '15 at 07:09
  • That would be another issue ^_- you _could_ find some info [here](http://stackoverflow.com/questions/4564352/how-do-i-programmatically-send-information-to-a-web-service-in-c-sharp-with-net) on how tu use webservices – Razieltje May 22 '15 at 07:15
1

You can't access Scanner. Users can scan their documents and save it as image. then that file we can take via asp.net application.

Arun Raj
  • 969
  • 8
  • 19