Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tif images
Message
De
13/04/2004 10:25:16
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
 
 
À
03/04/2004 02:50:15
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00889613
Message ID:
00894406
Vues:
21
Hello Reza,

I have been using the Kodac control successfully.
I have one little issue though.
After the scanning of the file is finished the application return to Windows Explorer instead of my application.
I would like the control to return to my application instead of Windows Explorer. Just like a modal form.


When I click the button a dialog box from the Canon DR-9080C appears with configuration information such as Mode, Page Size, Dots per inch, Brightness,
contrast, Margin, Scanning Side, Feeding Options, Scanning Options.
This Dialog box has a Scan button on it. When I click the Scanner start scanning the pages.
The problem is that once is finish it return control to Windows Explorer. But I want to return control to my foxpro application.

Here is the code of the click event of my scan button on a form:
LOCAL lcFileName 
lcFileName = ALLTRIM(Thisform.txtid.Value)
gcPath = "O:\"+lcFileName

Thisform.olescan.fileType = 1	&& for tif extension
lcFileName = gcPath+"\"+lcFileName+".tif"
Thisform.olescan.image = lcFileName
Thisform.olescan.multiPage = .t.
Thisform.olescan.pageoption = 1
thisform.olescan.scanto = 2
thisform.olescan.scroll = .F.
thisform.olescan.showsetupbeforeScan = .t.
thisform.olescan.stopscanbox = .f.

thisform.olescan.openscanner
thisform.olescan.startScan
thisform.olescan.closeScanner
How do you return control to my foxpro form once the scanning is finished?.

Thanks,
Sergio Ortiz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform