Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scanning tif documents
Message
 
À
26/01/2005 15:49:11
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:
00980950
Vues:
33
I doubt that it is the Windows issue; probably there are some limitations with the oMyForm.OleOutline utility you are using.
Why not just create the file that allows to work with oMyForm.OleO, and then rename it?


>Hello Yuri,
>
>Thanks for your help
>
>The file that not exist and is created by the following code on the fly :
>
>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 I set the lcFileName variable to a file with 11 character of length, I do not have any problem. Anything bigger than that I get the following error :
>Error # 1440 - OLE exception error:00000001: Incorrect function. OLE object may be corrupt it.
>
>Maybe Windows 2003 does not allow me to create that long file name!!!, and when I tried to scan and the file can not be created then I get the above error.????
>
>
>Thanks,
>Sergio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform