What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Away Message - Help or Suggestions Please

Away Message - Help or Suggestions Please
Author: Message:
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: Away Message - Help or Suggestions Please
First of all, you need to do this:
quote:
Originally from MessengerAPI Helpfile
To add the Messenger type libraries to a Visual Basic project:

In Visual Basic, create a new project or open an existing one. (This is required to display all menus.)
On the Project menu, click References.
In the References dialog box, check Messenger API Type Library in the list, and then click OK.



After this is done, you can declare a global variable like
code:
Public MessengerInstance As MessengerAPI.Messenger


Then, in Plus! plug-in Initiailize function, use:
code:
Public Function Initialize(ByVal nVersion As Long, ByVal sUserEmail As String, ByVal oMessenger As Object) As Boolean
    Set MessengerInstance = oMessenger 'This retrieves the Messenger object from Plus!
    'If any, add your custom Initiailize() codes
    Initiailize = True
End Function

If you want, you can add Set MessengerInstance = Nothing before setting it to oMessenger. But this is not obligatory.

That's what I mean in step 1 ;)

This post was edited on 06-09-2005 at 11:54 AM by Mnjul.
06-09-2005 11:48 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Away Message - Help or Suggestions Please - by XM4ST3RX on 06-09-2005 at 11:05 AM
RE: Away Message - Help or Suggestions Please - by Mnjul on 06-09-2005 at 11:20 AM
RE: Away Message - Help or Suggestions Please - by XM4ST3RX on 06-09-2005 at 11:21 AM
RE: Away Message - Help or Suggestions Please - by Millenium_edition on 06-09-2005 at 11:22 AM
RE: Away Message - Help or Suggestions Please - by XM4ST3RX on 06-09-2005 at 11:25 AM
RE: Away Message - Help or Suggestions Please - by Mnjul on 06-09-2005 at 11:33 AM
RE: Away Message - Help or Suggestions Please - by XM4ST3RX on 06-09-2005 at 11:35 AM
RE: Away Message - Help or Suggestions Please - by Mnjul on 06-09-2005 at 11:48 AM
RE: Away Message - Help or Suggestions Please - by XM4ST3RX on 06-09-2005 at 11:56 AM
RE: Away Message - Help or Suggestions Please - by Mnjul on 06-09-2005 at 12:13 PM
RE: Away Message - Help or Suggestions Please - by XM4ST3RX on 06-09-2005 at 12:17 PM
RE: Away Message - Help or Suggestions Please - by Mnjul on 06-09-2005 at 12:23 PM
RE: Away Message - Help or Suggestions Please - by XM4ST3RX on 06-09-2005 at 12:32 PM
RE: Away Message - Help or Suggestions Please - by Mnjul on 06-09-2005 at 12:39 PM
RE: Away Message - Help or Suggestions Please - by XM4ST3RX on 06-09-2005 at 12:43 PM
RE: Away Message - Help or Suggestions Please - by Mnjul on 06-09-2005 at 12:48 PM
RE: Away Message - Help or Suggestions Please - by XM4ST3RX on 06-09-2005 at 12:54 PM
RE: Away Message - Help or Suggestions Please - by Yousef on 06-09-2005 at 02:34 PM
RE: Away Message - Help or Suggestions Please - by Mnjul on 06-09-2005 at 02:38 PM
RE: RE: Away Message - Help or Suggestions Please - by Yousef on 06-09-2005 at 02:42 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On