General information
Category:
ActiveX controls in VFP
Environment versions
Network:
Windows 2000 Server
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only