Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Error with Excel opening a DBF file
Message
De
17/08/2017 09:45:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/08/2017 01:05:53
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01651937
Message ID:
01653436
Vues:
45
>Considerable effort was put into troubleshooting this issue on affected machines, without success.
>
>The final resolution was to replace Excel automation with the use of Greg Green's VFPx class: https://github.com/ggreen86/XLXS-Workbook-Class .
>
>My gut feel is the future will see increasing restrictions/lockdowns on inter-process communications, function calls, automation etc both by Windows and by security/AV programs. My recommendation would be to eliminate Excel automation where feasible and replace it with this class.

We have been and still using excel automation w/o no problems. It is better and much faster than alternatives. Using CopyFromRecordset has always worked successfully (even with 64 bits office - via VFPOLEDB saving to a stream and opening the stream in excel) - you may find many samples of my VFP2Excel routines on the internet I believe.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform