COM Invisible Instances of Office Applications: Who is to Blame? These two words can help you determine whether a hanging copy of Word, Excel, Access, or Outlook is a bug in Office...or a problem with your own VBA code.
COM How VBA IDE Addins Get Loaded From the Windows Registry A deep dive into how VBA IDE addins get loaded from the Windows Registry to help you avoid getting stuck in DLL hell.
VBA Why Do I Need to Set Objects to Nothing in VBA? Everyone knows you need to set object variables to nothing in VBA, right? ... Right?
Tools ActiveX Controls: Love 'Em or Hate 'Em? I always avoid ActiveX controls in my Access applications. Except when I can't. Or don't want to. It's complicated...
COM ActiveX vs. Standard DLLs What's the difference between an ActiveX (COM) and Standard DLL? When would you choose one over the other?
Presentations Understanding COM - DevCon 2022 Links and resources from my talk today at Access DevCon Vienna 2022, Understanding COM.
COM Loading VBE Addins - A Windows Registry Tour Let's pull back the curtain and see how VBA loads VBE COM add-ins via a series of registry calls.
COM Reference Counting's Fatal Flaw: Circular References We look at several types of circular references along with a handy tool that you can use to help identify circular references in your own code.
COM Managing Memory in COM We continue on with our restaurant analogy to explain the concept of reference counting and COM object cleanup.
COM Early vs. Late Binding at the Chinese Restaurant In this continuation of our Chinese restaurant-COM metaphor, we expand the example to illustrate the differences between early and late binding.
COM The IDispatch Interface For a COM object to support late binding in VBA, it must implement the IDispatch interface. Let's explore IDispatch and its four methods.
COM The IUnknown Interface All COM objects are required to support at least one interface: the IUnknown interface. In this short article, we explore the three methods of IUnknown.
COM COM Server Types: In-Process vs. Local vs. Remote There are three basic types of COM servers: in-process, local, and remote. What do they have in common? What are the differences? Let's explore.
COM Microsoft Office COM Automation Libraries The VBA developer's guide to automating Microsoft Office applications: early vs late binding; CreateObject vs GetObject; and tips on cleaning up after yourself.
COM Early Binding vs. Late Binding: The Essential Guide for VBA Developers The Absolute Minimum Every VBA Developer Absolutely, Positively Must Know About Early and Late Binding in COM (No Excuses!)
COM High Level Overview of COM This whirlwind tour of the Component Object Model technology will jump start your journey of automating Excel from VBA in Access.
COM What the #$%& is COM!? One of the most important concepts in VBA is also one of the least understood. Let's shine a light on the Component Object Model.