Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New to C#
Message
 
To
14/06/2019 05:25:46
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
C#
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01668995
Message ID:
01669100
Views:
76
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform