General information
Category:
ActiveX controls in VFP
Yes of course
picture scan is very easy too.
if you want to use from kodak image here is code for you:
oMyForm = CREATEOBJECT("form")
oMyForm.AddObject("oleOutline","olecontrol","Imaging.ScanCtrl.1")
oMyForm.oleOutline.filetype=1 && for tif extension
oMyForm.oleOutline.image="c:\test.tif" && you can get this value from a textbox
oMyForm.oleOutline.multipage=.f.
*oMyForm.oleOutline.page=0
oMyForm.oleOutline.pageoption=1
oMyForm.oleOutline.scanto=2
oMyForm.oleOutline.scroll=.f.
oMyForm.oleOutline.showsetupbeforescan=.T.
oMyForm.oleOutline.stopscanbox=.f.
*oMyForm.oleOutline.showscanpreferences
*oMyForm.oleOutline.showscanpage
oMyForm.oleOutline.openscanner
oMyForm.oleOutline.startscan
oMyForm.oleOutline.closescanner
this is all of things for scan picture.
if you dont want to use from kodak image i have another dll that is free and simple.
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