Smart Documents (explained)
On MSDN: Office Talk: The Definitive "Hello World" Managed Smart Document Tutorial. There are other documents explaining SmartDocuments, but they're totally incomprehensible unless you already understand them. Here (with .NET - although the same techniques apply in VB6 and C++) there's at last an intro/tutorial which is readable end-to-end without undue bafflement.