

- #Windows msn messenger for mac how to#
- #Windows msn messenger for mac full#
- #Windows msn messenger for mac code#
And the people don't know that they can shut this add-in feature off. I never knew that you could bug people with a plug-in on MSN. See the first picture for the Add-in tab. This is, of course, after you load the plug-in into the Add-in tab. The plug-in will only work when you actually activate it manually. I just went crazy when my plug-in did not work while loaded. And I hope this article will get you all started programming features for MSN Live.

It is more comment than code, so don't worry.
#Windows msn messenger for mac code#
Well, I really should encourage you to view the code file. " is not allowed to receive porn.", e.UserFrom) You could also send him a normal text message using // "Client.SendTextMessage(text, userTo) "Ĭlient.SendActionMessage( + And finally warn the other user not to // send porn to this little nerd. And make this a noisy message :-) for ( int i = 0 i < 10 i++) Alert every person that is standing in the neighbourhood. TextMessage.Append( " is sending PORN to this nice little nerd!!!") TextMessage.Append( " MESSAGE TO ALL PEOPLE AROUND:\n") StringBuilder textMessage = new StringBuilder()
.jpg)
Void Client_IncomingTextMessage( object sender, IncomingTextMessageEventArgs e) It would be easy for you to use a database that is on the other side of the planet and insert all the words in the database. I love this part, as you scan all incoming messages for "dirty" words and then react to the dirty words. However, I will show you the best parts of my add-in. Using the codeĪs always, most of my explaining is located inside the code files. The only real bugger in this feature is that you have to shut down MSN Messenger each and every time you want to rebuild the application. So, I recommend that you first implement the interface and then test the compiled DLL in your client. This is the tricky part because the hard part is over from the minute you can load the library in your Live Messenger. If the name does not match the class name that uses the IMessengerAddIn interface, then you will get a large MessageBox with the message that tells you that it failed to load in the class. Instead, they used the DLL name to determine which class inside the assembly to instantiate. This is all because the programmers of the MessengerClient were too lazy to do reflection on the DLL. In VS 2005, this is also the project name.
#Windows msn messenger for mac full#
This must be the full name of the class that implements the IMessengerAddIn interface. That is, the assembly name must have a name in the Namespace.ClassName format. Now before we go any further, there is a requirement for an add-in. Then create a class with the name of your add-in. I failed in that task all you will see here are things nobody wants and no one asks for.Ĭreate a Class Library and import a reference to the following library: C:\Program Files\MSN Messenger\MessengerClient.dll. You are now ready to take on the real challenge: finding something that people can use in their MSN Messenger. To activate a plug-in you just need to read on. This menu is used to load plug-ins, but it does not activate them. This will be our main entrance into the world of pluggies (I wanted to say fairytales, but it sounded childish). Now if you go and start up your MSN, you should see a new tab in your options dialog: Add-ins. It is a small program that can change the value of the key. If you are lazy and don't want to look for the key, just start up LiveMessengerRegistryAdapter.exe. To turn it off, you must delete it or change its value to 0. If you remember what I said a few lines back, "It isn't enabled by default." To enable the feature, you must create or adapt a key in your registry: HKEY_CURRENT_USER\SOFTWARE\Microsoft\MSNMessenger\AddInFeatureEnabled must be set to 1. If you want to begin programming your own new feature into MSN, you are going to try and test the plug-in.
#Windows msn messenger for mac how to#
