Read an Excerpt
Chapter 1: An Overview of Distributed COM...
Why Use Visual Basic with COM?Of all the COM-enabled development tools on the market, Visual Basic offers the highest
Take a moment to consider the following questions. What is your perception of Visual
- Which language is the easiest for writing business logic?
- Which language offers the lowest cost of code maintenance?
- Which language offers the fastest means to enhance an existing
- Which is the best language for people without a classic computer
Component-Based DevelopmentBefore component-based technologies such as COM were available, large applications were
Component-based development solves many of the problems associated with
Software development for the Windows operating system has always been based on
COM was built from the ground up to be object-oriented. It's based on clients,
After a client connects to an object, it simply invokes method calls as in any other
If code reuse in COM were limited to in-process DLLs, clients would have no way to
Notice that the client code and the object code are actually running in different processes
As you'll see, COM not only takes care of many grungy plumbing details in an
Interface-Based ProgrammingToday COM is language independent, but many of the original COM design decisions
The concept of interface-based programming wasn't a clever new idea thought of by
An interface, like a class, is a distinct data type. it defines a set of public methods
Interfaces are also the key to COM's ability to send remote method calls across host
What About OLE and ActiveX?The first time COM showed up in a released product was with OLE2 in 1993. OLE1 was
Today it's safe to say that COM is more significant than OLE, although it's equally
It's not just the marketing people who have contributed to the confusion in the