Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanning tif documents
Message
From
26/01/2005 15:49:11
 
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:
00980943
Views:
30
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform