Search found 47 matches

by BillG
Fri Jan 09, 2009 10:36 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning pdf file to SQL Server
Replies: 10
Views: 16088

Re: Scanning pdf file to SQL Server

Ok I think that I figured out how to save it properly in the table. Now how do I display it as a pdf file on a form?
by BillG
Fri Jan 09, 2009 8:33 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning pdf file to SQL Server
Replies: 10
Views: 16088

Re: Scanning pdf file to SQL Server

I don't mean the code to save the file in the table but the part where I acquire the image from the scanner and convert it to the type to save to an image field in the table.

Bill
by BillG
Fri Jan 09, 2009 7:13 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning pdf file to SQL Server
Replies: 10
Views: 16088

Re: Scanning pdf file to SQL Server

Can you please show me the code for acquiring the image as a pdf and saving it to SQL Sever?

Bill
by BillG
Tue Oct 21, 2008 8:46 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Problems with scanning and distortion
Replies: 3
Views: 6166

Re: Problems with scanning and distortion

Well I switched and used the WIA driver instead of the twain and that seemed to solve the problem.
by BillG
Tue Oct 21, 2008 7:31 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Problems with scanning and distortion
Replies: 3
Views: 6166

Re: Problems with scanning and distortion

I should add that in the pdf format it appears slanted to the left.
by BillG
Tue Oct 21, 2008 4:51 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Problems with scanning and distortion
Replies: 3
Views: 6166

Problems with scanning and distortion

When scanning a document by manually pressing scanner buttons, document scans perfectly. When using the library, and programmatically scanning the document, the document appears distorted. This is on an hp N6010 scanjet.
by BillG
Mon Oct 20, 2008 4:17 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning pdf file to SQL Server
Replies: 10
Views: 16088

Re: Scanning pdf file to SQL Server

Can you show me the code for that? This is what I am using right now. Bitmap dib = (Bitmap)vsTwain1.GetImage(0); MemoryStream mem = new MemoryStream(); dib.Save(mem, ImageFormat.Bmp); then i assigned to the save parameter the following mem.getBuffer(); The only problem is that it keeps timing out as...
by BillG
Mon Oct 20, 2008 2:34 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning pdf file to SQL Server
Replies: 10
Views: 16088

Re: Scanning pdf file to SQL Server

Each image is a separate document. They are scanning membership cards. So they look up the member's record and on the member form is a button for scanning documents, they click the scan button, I read the image into memory and then I want to save it to a table called memberdocuments along with the S...
by BillG
Thu Oct 16, 2008 6:40 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Stack Overflow exception in VintaSoft
Replies: 4
Views: 24144

Re: Stack Overflow exception in VintaSoft

Set vsTwain1.ShowIndicators = false before you acquire the image and it should be fine. It is a problem with the HP twain drivers.
by BillG
Thu Oct 16, 2008 6:35 pm
Forum: Hardware and Vendors Discussions
Topic: HP scanners.
Replies: 5
Views: 11783

Re: HP scanners.

I am testing the library with an HP Scanjet N6010 and so far it works just fine. I was getting a stackoverflow exception at first, but after setting

vsTwain1.ShowIndicators = false;

before I acquire the image, it worked fine.

Bill