VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: [1]2345678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 16:41:15 07/20/04 Tue
Author: Matt LaBrie
Subject: Re: Does scanner exist
In reply to: Dennis Steele 's message, "Does scanner exist" on 16:25:18 07/12/04 Mon

I believe you can handle this with one if statement.

If (not Scanner.IsConfigured) or
(Scanner.Scanners.Count=0) then begin
//No Scanners on this PC
end;




>A multi-user application both scans and shows
>previously scanned images. Some PC's will not have a
>twain scanner attached. How can I tell if a scanner
>is attached to that PC? TScanner.Scanners.Count
>reports 0 for both 0 and 1 scanner> Is there a better
>way?

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.