Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanning documents
Message
From
20/02/2004 13:03:09
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
20/02/2004 11:57:19
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00879303
Message ID:
00879349
Views:
19
Hi
test below code and if want more help say to me.

oMyForm = CREATEOBJECT("form")
oMyForm.AddObject("oleOutline","olecontrol","Imaging.ScanCtrl.1")

oMyForm.oleOutline.filetype=1
oMyForm.oleOutline.image="d:\testimg.tif"
oMyForm.oleOutline.multipage=.f.
oMyForm.oleOutline.pageoption=1
oMyForm.oleOutline.scanto=2
oMyForm.oleOutline.scroll=.f.
oMyForm.oleOutline.showsetupbeforescan=.T.
oMyForm.oleOutline.stopscanbox=.f.

oMyForm.oleOutline.openscanner
oMyForm.oleOutline.startscan
oMyForm.oleOutline.closescanner



it is simple but work good.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform