Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New to C#
Message
 
À
14/06/2019 05:25:46
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
C#
Catégorie:
Code, syntaxe and commandes
Titre:
Divers
Thread ID:
01668995
Message ID:
01669100
Vues:
77
>The worst disappointment was the Office automation. Not because it's inconsistent, memory hungry, slow or clumsy (it is all of that), it's that it's a house on sand. Whatever you do may not work with the next version. I have VFP code, parts of which were written in 1989, which still works. Most of the automation code had to be reworked over and over, because of this particular type of software rot.

Not sure why that would be. Whatever you do in FoxPro you can also do with .NET and the `dynamic` type. I think if you use the actual strongly typed automation libraries, they are scoped to a very particular version of the SDK which in turn is usually scoped to a specific version of Office.

But you can dynamically create COM objects, and use `dynamic` in the same way we do it in FoxPro and not be dependent on specific versions. Same COM instantiation and same late COM binding.

IOW COM is COM - doesnt' matter where you use it from.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform