Click here to Skip to main content
15,845,742 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi .....
I have a form with a button called btnScan. When i click on this button
i want to scan a file and save it in the database at once.
Any hints ?? ideas ??? solutions ???

I mean by scanning the actual scanning of a document using the Scanner.
When i click on the Scan button, i need some kind of functionality that
allows me to scan and save it in the database.
Thanks
Posted
Updated 20-Jun-12 22:08pm
v2
Comments
OriginalGriff 21-Jun-12 2:52am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Do you mean you need to access a TWAIN scanner? Or read a file from your HDD? Or what?
Use the "Improve question" widget to edit your question and provide better information.

1 solution

Try Like This

1)Save the file as a blob in a field in a row
2)Put the file on a server filesystem that clients can access, and put the filename in the database
or see the following links you may get some idea
WPF/C# - Scanning a Directory for Files?[^]
Store or Save images in SQL Server[^]
Storing and Retrieving Images from SQL Server using Microsoft .NET[^]
 
Share this answer
 
Comments
Mustafa Salman 21-Jun-12 3:41am    
Hi vangapallynaveen
Thanks For Your Help
But What I Want ....
When I Put Some Document at Scanner Device I Want to Save it at DB Without Save it at MyComputer. is That Possible ???
vangapally Naveen Kumar 21-Jun-12 7:02am    
see below link
http://stackoverflow.com/questions/158479/programatically-recognize-text-from-scans-in-a-pdf-file
and also
see this artical
http://www.devsource.com/c/a/Languages/Using-The-Office-2007-OCR-Component-in-C/
Mustafa Salman 23-Jun-12 3:33am    
Hi
Sorry for the inconvenience
I Want To Save It as Image ...........

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