What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » display pictures

display pictures
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: display pictures
VB6
code:
'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_Interface As MessengerAPI.Messenger
Public Const MCONTACTPROP_USERTILE_PATH As Integer = 2

Public Function Initialize(ByVal nVersion As Long, _
                           ByVal sUserEmail As String, _
                           ByVal oMessenger As Object) _
                           As Boolean
    Initialize = True
    Set MessengerAPI_Interface = oMessenger
    MessengerAPI_Interface.MyProperty(MCONTACTPROP_USERTILE_PATH) = "%path%"
End Function


VB.Net
code:
    '//
    '// Shared Variables
    '//////////////////////////////////////////////////////////////////////

    Public Const MCONTACTPROP_USERTILE_PATH As Integer = 2
    Public Shared WithEvents oMessenger As MessengerAPI.MessengerClass

    '//
    '// Purpose: Initialization function
    '//////////////////////////////////////////////////////////////////////

    Public Function Initialize(ByVal nVersion As Integer, _
                               ByVal sUserEmail As String, _
                               ByVal oMessenger As MessengerAPI.MessengerClass) _
                               As Boolean
        Sample.oMessenger = oMessenger
        oMessenger.MyProperty(MCONTACTPROP_USERTILE_PATH) = "%path%"
        Initialize = True
    End Function


This post was edited on 08-24-2005 at 06:20 AM by matty.
08-24-2005 06:06 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
display pictures - by wallawalla on 08-21-2005 at 09:18 AM
RE: display pictures - by DomGrimm on 08-21-2005 at 11:54 AM
RE: display pictures - by absorbation on 08-21-2005 at 12:00 PM
RE: display pictures - by Ezra on 08-21-2005 at 12:48 PM
RE: display pictures - by Eljay on 08-21-2005 at 02:37 PM
RE: display pictures - by wallawalla on 08-22-2005 at 05:58 AM
RE: display pictures - by wallawalla on 08-24-2005 at 05:04 AM
RE: display pictures - by matty on 08-24-2005 at 06:06 AM
RE: display pictures - by wallawalla on 08-24-2005 at 06:48 AM
RE: display pictures - by wallawalla on 08-24-2005 at 09:42 AM
RE: display pictures - by matty on 08-24-2005 at 05:31 PM
RE: display pictures - by wallawalla on 08-26-2005 at 08:30 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