Scan documents in client side ??

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
ndelbene
Posts: 7
Joined: Fri Dec 18, 2009 3:25 pm

Scan documents in client side ??

Post by ndelbene » Fri Dec 18, 2009 3:43 pm

Hi i saw the example to use gdtwain in client side,
with new ActiveXobject("gdtwain.twain"), what i dont
know is , where do i have this "gdtwain.twain" is this the cab file do
i have to put in same html folder ? a dll o what ?
Thanks

ndelbene
Posts: 7
Joined: Fri Dec 18, 2009 3:25 pm

Re: Scan documents in client side ??

Post by ndelbene » Fri Dec 18, 2009 3:57 pm

I find the solution, just doing a regsvr32 gdtwain2s.ocx, puting before this ocx in the regsvr32.
In client side is the same for every machine where i useit ?

ndelbene
Posts: 7
Joined: Fri Dec 18, 2009 3:25 pm

Re: Scan documents in client side ??

Post by ndelbene » Fri Dec 18, 2009 4:28 pm

var oTWAIN = new ActiveXObject('gdtwain2s.twain');
oTWAIN.TwainSelectSource();
oTWAIN.TwainOpenDefaultSource()
oTWAIN.TwainAcquireToImageID();

This throw an error in the line "TwainAcquireToImage" said "the objet doesnt have this method
Any help on this ?
Thanks

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest