Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanner
Message
 
To
11/06/2003 08:01:22
Issam Mansour
Jordan Business Machines
Amman, Jordan
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00798819
Message ID:
00798909
Views:
17
One of the ways is:

oscanner=CREATEOBJECT("myscanner")
*...............
*---------------------
DEFINE CLASS myScanner AS form

procedure INIT

this.AddObject("ScannerControl1","OLecontrol","WangImage.ScanCtrl.1")

WITH this.ScannerControl1
iF not .Scanneravailable
WAIT WINDOW TIMEOUT 1.0 "Scanner is not found/not available ?!"
RETURN .f.
ENDIF
endwith
this.Visible=.t.
*..................
endproc

enddefine



>Hi,
>
>How to check if there is a scanner installed on the system or not.
>
>
>Best Regards
Previous
Reply
Map
View

Click here to load this message in the networking platform