VB, COM Interfaces, and plug-ins.

Thinker
05-09-2002, 10:53 AM
I have debated with myself as to whether or not to even post this
tutorial here. It is a very advanced subject and not very many will
understand what I am trying to explain. However, one thing I am
seeing as I start to learn more about VB.Net. While you don't
have to understand the intricacies of COM component registration,
Interfaces are a much larger part of VB.Net programming. Time
spent on understanding Interface-based OOProgramming will
carry over and give you a head start on .Net programming.

This tutorial and code example explains how COM uses Interfaces
to support polymorphism, how Windows tracks all aspects of COM
via GUIDs in the registry, how we can create and use typelibs with
VB to take full advantages of COM Interfaces, and how this will
allow us to create plug-in compatible ActiveX components and use
them from an application, including support of call-back interfaces.

Please read Appendix A at the end of the article before trying to
work with the various code projects. You will need Acrobat reader.


Woo Hoo, Post 8000!

ChiefRedBull
05-09-2002, 11:50 AM
This is exactly what I needed. I wanted to write a plugin app, but the plugins needed to be able to raise events. Now, I can. :D

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum