Sunday, September 17, 2006

Where to get MSN Live Add-in SDK

From Katie Blanch's blog:

To get a build of Messenger that supports add-ins, go here:


Then you'll need to either install the SDK (coming soon), or set the following registry key:

HKEY_CURRENT_USER\Software\MicrosoftMSNMessenger\AddInFeatureEnabled DWORD 1

And finally, you can follow these steps to create your own add-in in C# using Vistual Studio:

1. Launch VS 2005 and choose File->New Project
Choose a Visual C# Class Library
2. Name your solution whatever you'd like. I've chosen 'SmartTalker'.
Go to Project->Add Reference
3. In the dialog that pops up, choose the 'Browse' tab.
4. Navigate to C:\Program Files\MSN Messenger and choose 'MessengerClient.dll'
5. Add 'using Microsoft.Messenger' statement to your Class1.cs file.
6. Create a class that inherits from IMessengerAddIn. I've chosen to name the class 'AddIn'.
7. Navigate to Project->SmartTalker Properties
8. Modify the assembly name to be the fully qualified name of the class that implements IMessengerAddIn. In my case, I'd change this to 'SmartTalker.AddIn'.
9. Once you've created your add-in .dll, you can load it into Messenger by going to Tools->Options and selecting the 'Add-in' page.
10. Finally, you can turn on/off your selected 'Agent' add-in manually via the status menu on Messenger's main window.

http://blogs.msdn.com/katieblanch/archive/2006/05/11/595765.aspx

0 Comments:

Post a Comment

<< Home