Loading...

Scan documents in client side ??

Support for GdTwain ActiveX and GdTwain Pro ActiveX/SDK.

Scan documents in client side ??

Postby 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 ??

Postby 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 ??

Postby 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
ndelbene
 
Posts: 7
Joined: Fri Dec 18, 2009 3:25 pm


Return to GdTwain [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest