Search found 3 matches

by vanilla Y
Wed Oct 28, 2009 10:43 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Post Scan Event is called twice
Replies: 5
Views: 10766

Re: Post Scan Event is called twice

Hi Alex, As you said, I added the following: VSTwainDocument.IsLoggingEnabled = 1; VSTwainDocument.StartDevice(); VSTwainDocument.LogFilePath = "c:\vstwain.log"; I scanned a document and this is what I've got in c:\vstwain.log: 9:35:36.750 StopDevice 9:35:36.750 OWM: 92933250 129 0 1013674...
by vanilla Y
Tue Oct 20, 2009 9:18 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Post Scan Event is called twice
Replies: 5
Views: 10766

Re: Post Scan Event is called twice

Hi Alex, My scanner doesn't have duplex option. :( In my code, I do the following check: if (m_bIsDuplex) { if (VSTwainDocument.Duplex != 0) VSTwainDocument.DuplexEnabled = 1; //scan the doc from both sides } else VSTwainDocument.DuplexEnabled = 0; //in my case, goes to this line VSTwainDocument.Acq...
by vanilla Y
Mon Oct 19, 2009 3:37 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Post Scan Event is called twice
Replies: 5
Views: 10766

Post Scan Event is called twice

Hi, After I scan a document, it goes twice to the Post Scan event. First time is good, but then immediately it enters another time to this event. What can be the reason? :roll: I'm registered only once to the event: VSTwainDocument.PostScan += new AxVSTWAINLib._IVintaSoftTwainEvents_PostScanEventHan...