How to start off a plugin and how to make it simply change your name - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Forum: Plug-Ins (/forumdisplay.php?fid=28) +------ Thread: How to start off a plugin and how to make it simply change your name (/showthread.php?tid=42872) How to start off a plugin and how to make it simply change your name by jasonallen on 04-15-2005 at 04:36 PM How do I simply create a plugin that changes your name? Using VB6. I have the API files. RE: How to start off a plugin and how to make it simply change your name by TheGeek on 04-15-2005 at 04:39 PM With the SetNewName function. RE: How to start off a plugin and how to make it simply change your name by jasonallen on 04-15-2005 at 04:40 PM
I don't understand all the initialise stuff RE: How to start off a plugin and how to make it simply change your name by TheGeek on 04-15-2005 at 04:42 PM
Well, I can't really tell you how to do that because I'm not a plugin programmer. I just knew the SetNewName function because its included with the Scripting host plugin. RE: How to start off a plugin and how to make it simply change your name by Stigmata on 04-15-2005 at 04:42 PM
code: http://forums.msnfanatic.com/index.php?showtopic=11504 RE: How to start off a plugin and how to make it simply change your name by matty on 04-15-2005 at 05:07 PM
'This is just an example of using the Visual Basic Input Box on the Initialize Function to set the new name. RE: How to start off a plugin and how to make it simply change your name by jasonallen on 04-15-2005 at 05:12 PM
What wd be an example to put in for version and omessenger? RE: RE: How to start off a plugin and how to make it simply change your name by matty on 04-15-2005 at 05:17 PM
quote:'This is just an example for calling the oMessenger object passed through the Initialize Function into a Variable. 'Make sure to set a reference to the MessengerAPI Type Library Public WithEvents MessengerAPI As MessengerAPI.Messenger Public Function Initialize(ByVal nVersion As Long, ByVal sUserEmail As String, ByVal oMessenger As Object) As Boolean Initialize = True Set MessengerAPI = oMessenger End Function 'Setting a new nickname through the oMessenger Object passed through the Initalize Function is impossible as the MyFriendlyName Property is Read-Only (Cannot be changed). This is why I had Patchou add the SetNewName function into the API. 'The code that Stigmata posted is using Windows API calls but the Contact List Window has to be opened for it to work. RE: How to start off a plugin and how to make it simply change your name by jasonallen on 04-15-2005 at 05:27 PM
What does it mean for when i says: RE: How to start off a plugin and how to make it simply change your name by matty on 04-15-2005 at 05:29 PM
quote:Ok you need to make sure that in the Properties of your Class Module is set to MultiUse. RE: How to start off a plugin and how to make it simply change your name by jasonallen on 04-15-2005 at 05:46 PM Ok, how to i get it to appear in the msgplus plugins window? (I feel like I'm being a real pain in the arse) RE: How to start off a plugin and how to make it simply change your name by matty on 04-15-2005 at 05:55 PM
quote:You have to register the DLL. code:If you installed Messenger Plus! 3 to a different location then change the above. You also need to Run the Install.Reg. (If you changed the Name of the Class from Sample to something else then change it accordingly in the reg file. ie. open in notepad.) Completly Exit MSN Messenger and restart it. RE: How to start off a plugin and how to make it simply change your name by jasonallen on 04-15-2005 at 05:58 PM
Sorry what do i need to put in the reg file? RE: How to start off a plugin and how to make it simply change your name by matty on 04-15-2005 at 06:04 PM On the left is the name of the project by default its MPPlugin the right side is the name of the Class file by default it is Sample. RE: How to start off a plugin and how to make it simply change your name by jasonallen on 04-15-2005 at 06:21 PM What determines the class file, coz its not working. I have a project file called RSP, and 2 other files, MPPluginConst.bas and MPPluginDef.cls in that project. I set the reg file to "RSP"="Sample" and ran it. But it doesn't appear in Msgplus RE: How to start off a plugin and how to make it simply change your name by matty on 04-15-2005 at 06:52 PM
quote:Oops My bad i made a mistake sorry. The left side is what your plugin is called so RSP then the right side is ProjectName.ClassName so MPPlugin.Sample. My Bad sorry about that. Of you need more help take a look at this open source plugin I made. http://shoutbox.menthix.net/~msgplus/showthread.p...d=281160#pid281160 |