Use COM Applications
When Microsoft first developed COM, the company envisioned Office applications as building blocks that programmers could use to assemble customer-specific solutions. That vision has partly come true—it’s not uncommon for a Word document to include data from Excel or for a PowerPoint presentation to use Word and Excel data—however, that reality is not nearly as grand as Microsoft’s early marketing demos.
Meanwhile, Excel’s feature set has grown to include its own spellchecker, drawing tools, mail, and Internet capabilities. In many ways, there is less reason to program across applications than there once was.
But here’s the kicker: most of those new features were made possible because Microsoft implemented them as COM objects. That’s the reason Excel’s drawing tools look suspiciously like Visio objects. In fact, Microsoft’s vision came true; it’s just that Microsoft became the solution provider in the Office realm.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access