Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanning tif documents
Message
 
To
26/01/2005 14:43:21
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00980907
Message ID:
00980924
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform