Apr 18 2006, 11:57 AM
Post
#1
|
|
|
♥ Group: TimothyPosts: 771 Joined: 1-September 04 From: Netherlands Member No.: 3 |
Here you've got a preview of what kind functions and objects you can use in the new API:
CODE Class IMessengerClientInternal - Used by Plug-In to call into Messenger Function GetGroups(email As String, psa() As String) Function GetLocalUser() As UserInternal Function GetSavedState() As String Function SetPlugInIdentity(user As UserInternal) Function SetPlugInIdentityUserTile(psa() As Byte) Function SetSavedState(state As String) CODE Class IPlugInLauncher - Private interface for use by Messenger's .net managed host object Function LaunchUserCode(strAssemblyPath As String, punkMessengerClient As Unknown) As Unknown CODE Class IPlugInNotifyInternal - Used by Messenger to call Plug-In functions Function GetPlugInCapabilities() As Object Function ProcessIncomingMessage(incomming As MessageInternal, userFrom As UserInternal) As MessageInternal Function ProcessOutgoingMessage(outgoing As MessageInternal, userTo As UserInternal) As MessageInternal Function ShowOptionsDialog() Function Shutdown() Function UserStatusChanged(user As UserInternal) CODE Type MessageInternal bstrAction As String bstrOriginalFrom As String bstrText As String cb As Long fCancelSendOriginalMsg As Long fNudge As Long fOriginalSentMsg As Long CODE Enum PLUGIN_CAPABILITIES Const USES_INCOMING_MESSAGE_EVENT = 1 Const USES_OUTGOING_MESSAGE_EVENT = 16 (&H10) Const USES_SHOW_OPTIONS_EVENT = 2 Const USES_SHUTDOWN_EVENT = 4 Const USES_STATUS_CHANGED_EVENT = 8 CODE Enum PLUGIN_PROPERTY_FLAGS Const PLUGIN_PROPERTY_ALL = -1 (&HFFFFFFFF) Const PLUGIN_PROPERTY_CREATOR = 16 (&H10) Const PLUGIN_PROPERTY_DESCRIPTION = 8 Const PLUGIN_PROPERTY_FRIENDLY_NAME = 1 Const PLUGIN_PROPERTY_NONE = 0 Const PLUGIN_PROPERTY_PSM = 2 Const PLUGIN_PROPERTY_STATUS = 64 (&H40) Const PLUGIN_PROPERTY_URL = 4 Const PLUGIN_PROPERTY_USERTILE = 32 (&H20) CODE Type UserInternal bstrCID As String bstrCreator As String bstrDescription As String bstrEmail As String bstrFriendlyName As String bstrLogin As String bstrPSM As String bstrSpacesUrl As String bstrUrl As String cb As Long fLocalUser As Long fPlugInIdentity As Long propertiesChanged As Long status As Long CODE Enum USERSTATUS Const STATUS_AWAY = 34 (&H22) Const STATUS_BE_RIGHT_BACK = 14 Const STATUS_BUSY = 10 Const STATUS_IDLE = 18 (&H12) Const STATUS_OFFLINE = 1 Const STATUS_ON_THE_PHONE = 50 (&H32) Const STATUS_ONLINE = 2 Const STATUS_OUT_TO_LUNCH = 66 (&H42) Const STATUS_UNKNOWN = 0 |
|
|
|
timothy Messenger Client Side Plug-ins Type Library Apr 18 2006, 11:57 AM
zero_kool is this just vb.net if so whats vb6 Apr 18 2006, 04:11 PM
vikke it's VB6 ^^ Apr 18 2006, 05:05 PM
timothy Here's the .NET interop thingy. Notice it only... Apr 18 2006, 06:35 PM
nsa666 Did you note that a plugin crash if you try to mak... Apr 19 2006, 12:17 AM
SilverSlide QUOTE(nsa666 @ Apr 19 2006, 01:17 AM)Did you ... Apr 19 2006, 09:29 AM
twentytwo I don't see any new tabs after running the reg... Apr 19 2006, 12:47 AM
chern4ever same here!! why??
i check the registry, n... Apr 19 2006, 07:23 AM
Stigmata Right Click White Space -> New" -> ... Apr 19 2006, 08:13 AM
chern4ever Okayz it finally worked.
thanks! Apr 19 2006, 09:27 AM
timothy The security on plugins is a tad higher then norma... Apr 19 2006, 09:42 AM
zero_kool is that all for vb6 becuz it doesnt work Apr 19 2006, 02:57 PM
vikke How can I get the IMessengerAddIn interface in VB6... Apr 19 2006, 03:25 PM
Stigmata QUOTE(vikke @ Apr 19 2006, 04:25 PM)How can I... Apr 19 2006, 09:31 PM
zero_kool hopefully that wont be the case if so me and vikke... Apr 19 2006, 09:35 PM
Stigmata QUOTE(zero_kool @ Apr 19 2006, 10:35 PM)hopef... Apr 19 2006, 09:44 PM
psyko I highly doubt this API will be able to be used wi... Apr 19 2006, 08:54 PM
twentytwo Who else thinks this one plugin limit is ridiculou... Apr 19 2006, 10:20 PM
zero_kool how do you get it to work for vb.net not working f... Apr 20 2006, 03:42 AM

TheSteve QUOTE(zero_kool @ Apr 20 2006, 12:42 PM)how d... Apr 21 2006, 12:38 AM

zero_kool well i used the c# code and used a converter but i... Apr 21 2006, 04:07 PM
Overdo QUOTE(twentytwo @ Apr 19 2006, 10:20 PM)Who e... Apr 20 2006, 11:08 PM
deAd I can't seem to get it working in vb.net eithe... Apr 20 2006, 08:43 PM
deAd Hmm, seems as if the AddInProperties.FriendlyName ... Apr 22 2006, 05:27 PM
mario Vb.Net Example :
CODE
'Few Tips First
'Do... Apr 22 2006, 06:37 PM
deAd Thats really really nice! Thanks for the tutor... Apr 22 2006, 06:43 PM
mario u need to load the dll through the add-ins panel ,... Apr 22 2006, 07:26 PM
psyko QUOTEHmm, seems as if the AddInProperties.Friendly... Apr 22 2006, 08:23 PM
zero_kool yeah you cant even parse incoming messages this st... Apr 22 2006, 08:29 PM
mario QUOTE(zero_kool @ Apr 22 2006, 11:29 PM)yeah ... Apr 22 2006, 08:44 PM
deAd QUOTE(mario @ Apr 22 2006, 02:26 PM)u need to... Apr 22 2006, 11:01 PM
psyko QUOTEyeah you cant even parse incoming messages th... Apr 23 2006, 01:34 PM
zero_kool the plugins dont even work for me i losd em mars i... Apr 23 2006, 06:08 PM
Stigmata once you install the plugin.
goto your contact li... Apr 23 2006, 07:04 PM
timothy Here's a simplified and extended plugin dummy ... Apr 23 2006, 10:16 PM
Stigmata here is a edited version of timothys code to show ... Apr 29 2006, 09:29 PM
jon Without any way (that I can see) of Reading/Writin... Apr 24 2006, 12:21 PM
zero_kool CODE
Private Sub Mess_IncomingTextMessage... Apr 25 2006, 06:48 AM
jon so having now found a way to write to the HD (yay... Apr 25 2006, 08:48 AM
mario What do u use to write to the HD ? Apr 25 2006, 03:46 PM
psyko QUOTEwhat i fail to understand is the ridiculous ... Apr 25 2006, 06:34 PM
eth0 After trying both the C# and VB.NET examples I can... Apr 25 2006, 07:07 PM
TheSteve You need to be using .NET 2.0 (VS 2005)
You can ... Apr 26 2006, 12:58 AM
level42 Does anyone know if these will work on the new Vis... Apr 26 2006, 01:25 AM
Stigmata QUOTE(level42 @ Apr 26 2006, 02:25 AM)Does an... Apr 26 2006, 06:26 AM
Tobiaz Hi all!
It would be really useful, if someone... Apr 27 2006, 05:05 PM
psyko Timothy already posted a good example in C# - whic... Apr 27 2006, 06:34 PM
Tobiaz Yes, I saw the VB.NET example. And whats with vb6? Apr 27 2006, 08:16 PM
psyko VB6 can't be used because the add-in interface... Apr 27 2006, 09:24 PM
deAd The converter doesn't always work well ...not... Apr 27 2006, 09:43 PM
Tobiaz Oh man. That's a pitty! So... thank you an... Apr 28 2006, 07:39 AM
deAd Two questions.
How do you add a form that is used ... Apr 28 2006, 10:58 PM
psyko // is used when you comment out a code line. In V... Apr 29 2006, 01:22 PM
deAd Nevermind the canceling thing, I'd made some d... Apr 29 2006, 01:23 PM
Stigmata bump..
Cant start new processes (launch urls etc... May 7 2006, 06:14 PM
deAd You can't use any references, which sucks majo... May 7 2006, 06:19 PM
-B- interesting topic, so interesting that i registere... May 8 2006, 07:46 PM
TheSteve QUOTE(-B- @ May 9 2006, 04:46 AM)Ha... May 10 2006, 05:43 AM
raulsos the invisble formm..... hmm i like that idea... May 9 2006, 06:00 AM
deAd It wont be invisible, as part of the sandbox messe... May 9 2006, 09:09 PM
-B- After analyzing the plugin, i managed to find out ... May 10 2006, 08:35 AM
TheSteve Attempting to patch the DLL is probably a waste of... May 11 2006, 01:15 AM
TheBlasphemer I've already looked into this. I'm not ver... May 11 2006, 11:40 PM
deAd oh come on May 11 2006, 11:51 PM
raulsos would you do it for the messenger community
you ... May 12 2006, 12:00 AM
psyko QUOTEAlthough I am confident that I would be able ... May 12 2006, 12:02 PM
U-Boat Hi all! I'm trying to develop a privacy pl... May 20 2006, 07:48 AM
deAd BTW everyone, from screenshots of Stuffplug 3, it ... May 20 2006, 12:45 PM
-B- Just as conformation btw on the Internet security ... Jun 5 2006, 02:31 PM
shqwrety The restrictions/sandbox is created when your add-... Oct 28 2006, 05:29 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 31st July 2010 - 08:46 PM |