ConsoleApplicationBase - what is the reason?

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
sws
Posts: 3
Joined: Sat Jan 14, 2012 11:08 am

ConsoleApplicationBase - what is the reason?

Post by sws » Sat Jan 14, 2012 11:16 am

Hi,
Sample code for Twain contains many transTempXX variables (of type ConsoleApplicationBase). What is the reason? I did not find help on this and now comment :)

Thank you!

sws
Posts: 3
Joined: Sat Jan 14, 2012 11:08 am

Re: ConsoleApplicationBase - what is the reason?

Post by sws » Sat Jan 14, 2012 11:33 am

also, in sample project "Csharp-Twain Scanning.csproj" when I click on scan button i always get click event twice (and two scans of course). Why?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

C# TWAIN scanning sample

Post by Loïc » Sat Jan 14, 2012 2:10 pm

Hello,

Please find attached a clean C# TWAIN scanning sample.

Kind regards,

Loïc
Attachments
csharp_twainsample.zip
C# TWAIN scanning sample
(10.95 KiB) Downloaded 344 times

sws
Posts: 3
Joined: Sat Jan 14, 2012 11:08 am

Re: ConsoleApplicationBase - what is the reason?

Post by sws » Sun Jan 15, 2012 12:47 am

Thank you for the sample and so prompt reply. Just curious, what would be the answers to my questions? ;) especially for double event :).
again, thank you for the great support.

-Denis

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ConsoleApplicationBase - what is the reason?

Post by Loïc » Sun Jan 15, 2012 1:28 pm

Hello,

This sample was written in vb.NET and converted to C# using Csharpener tool.
I rewrote it from scratch to avoid poorly converted code parts.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest