Did you also read the readme.txt that comes with the examples:
quote:
The files MPPluginConst.bas and MPPluginDef.cls contain the information you need to create a plugin in Visual Basic. Include the two files in your project and create a new class for your plugin based on MPPluginDef. Remember that an extra installation step is needed when installing Visual Basic pluggins (see below).
quote:
When installing a Visual Basic plugin, you are required to create a special value in the registry to let Messenger Plus! know that it has to load your DLL. Placing it in the Plugins directory will not be enough. Here is the value you have to create:
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Patchou\MsgPlus2\RegisteredPlugins
Value Name: any name you want to identify your plugin
Value data: VB object identifier (ProgID)
The object identifier is the name of your project, a dot and the
name of your class. For example, the identifier for the VB sample
distributed in this API package is "MPPlugin.Sample".
Also, take a look at this excellent plugin tutorial made by RaceProUK:
http://www.geocities.com/raceprouk/msn/plugins.htm (Scroll down the page to get the PDF and samples)
I hope these things helped...