Search found 47 matches

by BillG
Thu Jan 14, 2010 3:37 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Divide by zero error
Replies: 3
Views: 7625

Divide by zero error

I finally figured out what I was doing wrong and now it is saving multiple pages properly. Every one and awhile though, the user gets a divide by zero error, they exit the program, log back in and it works fine. Later just out of the blue, after working for a while it happens again. Here is the code...
by BillG
Wed Jan 13, 2010 1:21 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning multiple pages
Replies: 7
Views: 11903

Re: Scanning multiple pages

Well I have it now scanning multiple pages and creating only one pdf file but it always only saves the last page. vsTwain1.StartDevice(); vsTwain1.ShowUI = false; if (vsTwain1.SelectSource()) { vsTwain1.DisableAfterAcquire = true; vsTwain1.MaxImages = Int32.Parse(NumberOfPagesTextBox.Value.ToString(...
by BillG
Wed Jan 13, 2010 12:27 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning multiple pages
Replies: 7
Views: 11903

Re: Scanning multiple pages

I tried this but got a attempted to divide by zero error vsTwain1.StartDevice(); vsTwain1.ShowUI = false; if (vsTwain1.SelectSource()) { vsTwain1.DisableAfterAcquire = true; vsTwain1.MaxImages = Int32.Parse(NumberOfPagesTextBox.Value.ToString()); vsTwain1.AutoCleanBuffer = true; vsTwain1.OpenDataSou...
by BillG
Wed Jan 13, 2010 12:14 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning multiple pages
Replies: 7
Views: 11903

Re: Scanning multiple pages

How do I change the above change to scan multiple pages and save them in the same pdf file?
by BillG
Tue Jan 12, 2010 9:27 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning multiple pages
Replies: 7
Views: 11903

Re: Scanning multiple pages

Do I need to set the MaxImages property to the number of pages being scanned?
by BillG
Tue Jan 12, 2010 12:56 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning multiple pages
Replies: 7
Views: 11903

Scanning multiple pages

Up to this point, my client is using the software to scan single membership cards and everything works fine. Now they want to scan multiple page documents and put the multi page document into one pdf file. How do I set up my code for this so that I capture multiple pages before saving the image. Her...
by BillG
Wed May 06, 2009 12:27 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: How to detect paper not inserted properly?
Replies: 1
Views: 5781

How to detect paper not inserted properly?

How do I detect if the paper is not properly inserted into the scanner, ie hitting the paper indicator clip?
by BillG
Sun Jan 18, 2009 11:46 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Getting error in setting image layout
Replies: 7
Views: 15379

Getting error in setting image layout

vsTwain1.OpenDataSource(); vsTwain1.UnitOfMeasure = UnitOfMeasure.Inches; vsTwain1.Brightness = vsTwain1.BrightnessMaxValue; vsTwain1.SetImageLayout(1, 1, 6, 4); I am trying to scan a card that is 6 inches and 4 inches wide and am getting an error in setting the image. What am I doing wrong? Bill
by BillG
Tue Jan 13, 2009 9:15 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Controlling the size of the image being scanned
Replies: 1
Views: 6366

Controlling the size of the image being scanned

One of the documents being scanned by the user is the size of an index card. When the document is scanned it is like it is scanning for a full sheet which makes the size of the image larger and takes longer to send over the internet. Can I tell it to scan only the image part which is the size of the...
by BillG
Sat Jan 10, 2009 12:55 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning pdf file to SQL Server
Replies: 10
Views: 18345

Re: Scanning pdf file to SQL Server

Solved it. Again, a great product. Well worth, the money.