scanning twain via silverlight

Example requests & Code samples for GdPicture Toolkits.
Post Reply
ara
Posts: 3
Joined: Mon Apr 02, 2012 10:15 am

scanning twain via silverlight

Post by ara » Mon Apr 02, 2012 10:37 am

Hi,
I tried to use scan twain in silverlight project.
I can`t use gdpicture dlls in silverlight.
How can I do it? there is a way?
there is no simples for such a thing in your simples folder.

thank you!

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

Re: scanning twain via silverlight

Post by Loïc » Tue Apr 03, 2012 3:36 pm

Hello,

Please find attached a Silverlight demo to acquire image from TWAIN devices.

Let me know if you have any question.
silverlight-twain-acquisition.zip
TWAIN acquisition in Silverlight and GdPicture.NET 8
(10.77 KiB) Downloaded 938 times
Kind regards,

Loïc

ara
Posts: 3
Joined: Mon Apr 02, 2012 10:15 am

Re: scanning twain via silverlight

Post by ara » Wed Apr 04, 2012 10:22 am

First, thanks for the answer.
Secondly, I tried to use the function you sent me, but I got false in this line:

Code: Select all

bool success = oGdPictureImaging.TwainOpenDefaultSource_2(0);
Do you know what could be the problem? What this function checks?

Many thanks.

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

Re: scanning twain via silverlight

Post by Loïc » Wed Apr 04, 2012 4:28 pm

Hello,

You should check the reference guide ;)

You can subsequent use these methods to diagnose the error:

- GetStat()
- TwainGetLastConditionCode()
- TwainGetLastResultCode()

Hope this helps !

Kind regards,

Loïc

paen45
Posts: 2
Joined: Tue Jan 16, 2018 9:18 am

Re: scanning twain via silverlight

Post by paen45 » Tue Jan 16, 2018 9:31 am

Hello...

I am making a Silverlight application that necessities to speak with a scanner (utilizing TWAIN drivers)...., I know Silverlight can't do this straightforwardly.., and I should utilize Java to communicate with the scanner.

lucas78
Posts: 2
Joined: Wed Jan 17, 2018 11:48 am

Re: scanning twain via silverlight

Post by lucas78 » Wed Jan 17, 2018 11:53 am

Hey, this problem is also with me. thanks for the post,
i hope it may be helpfull for me......

paen45
Posts: 2
Joined: Tue Jan 16, 2018 9:18 am

Re: scanning twain via silverlight

Post by paen45 » Wed Feb 14, 2018 10:01 am

lucas78 wrote:
Wed Jan 17, 2018 11:53 am
Hey, this problem is also with me. thanks for the post,
i hope it may be helpfull for me......

:)

sushma
Posts: 1
Joined: Sat Feb 09, 2019 10:46 am

Re: scanning twain via silverlight

Post by sushma » Sat Feb 09, 2019 10:49 am

Excellent topic. Thank you.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest