Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scanning tif documents
Message
 
À
26/01/2005 14:43:21
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00980907
Message ID:
00980924
Vues:
25
Try to pass the short file name to see whether it caused the problem:
lc="c:\MVHO3S000933932802\MVHO3S000933932802_1FP0TQX62.TIF"
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
lo=oFSO.GetFile(lc)
lcFileName = lo.ShortPath+lo.ShortName
lo=null
oFSO=null
.....



>Hello UT,
>
>I am stuck at a problem that I have been debuging for a couple of days and I do not know how to solve it.
>
>I have been using the Kodac image controls to scan and view tiff files.
>Everything is been working fine until I started to scan files that have big names. For example file name "W:\MVHO3S000933932802\MVHO3S000933932802_1FP0TQX62.TIF" where MVHHO3S000933932802 is a policy number and also a folder on the 'w:' drive on my network.
>
>Here is the code
>
>lcFileName = gcPath+"\"+lcFileName+SYS(2015)+".tif"
>oMyForm.OleOutline.image = lcFileName
>oMyForm.OleOutline.multiPage = .t.
>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
>
>
>When debugging I get the error in the following line :
>oMyForm.OleOutline.startScan
>
>
>Does anybody how to solve this problem or have any idea what might be causing the problem ?
>
>The client is a windows XP with a Canon DR-9080c scanner attached to it.
>
>Any help is greatly appreciated.
>Thanks,
>Sergio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform