Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Kodak Image ActiveX
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01146316
Message ID:
01150297
Views:
19
>I've tried the methods which are mentioned in the said URL ( fox.wikis.com ), but it does not save the scanned image. We are using HP Scanner ( HP-2300 ).
>
>Thanks
>Ravi Mehrotra

I have used it in the past. Below is the code I used to scan in a tiff image
Assume: OLESCAN is the instantiated scanning object:

OLESCAN.SCANTO = 2 && SET TO FILE
OLESCAN.IMAGE = lcFilename && FILENAME VARIABLE eg "c:\scanimage.tif"
OLESCAN.FILETYPE = 1 && TIFF
OLESCAN.MultiPage = .T. && MULTIPAGE OPTION
OLESCAN.STARTSCAN() && START SCANNING!!!

Next I used to check for the existance of the filename eg.
IF FILE(lcFilename)
*-- DO WHATEVER
ENDIF



HTH

Paul
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform