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

Block Command - Messenger API
Author: Message:
michael_m91
Full Member
***


Posts: 371
Reputation: 1
33 / Male / –
Joined: Jan 2004
O.P. RE: RE: Block Command - Messenger API
quote:
Originally posted by Millenium_edition
code:
Private WithEvents objMessenger As MessengerAPI.Messenger

Private Sub Form_Load()
Set objMessenger = new MessengerAPI.Messenger
End Sub
should get you started. then you can use this to block someone
code:
Private Sub BlockContact (ByVal strContact As String)
objMessenger.GetContact(strContact, objMessenger.Services.PrimaryService).Blocked = True
End Sub


Do I specify which contact with "ctrContact" and how do I specify which contact (Friendly Name? Service Id? what?)

This objmessenger isnt in the Messenger API right? It's prat of the plugin making stuff.

[Image: Email.JPG]
09-15-2004 01:10 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Block Command - Messenger API - by michael_m91 on 09-15-2004 at 04:58 AM
RE: Block Command - Messenger API - by RaceProUK on 09-15-2004 at 11:26 AM
RE: Block Command - Messenger API - by michael_m91 on 09-15-2004 at 12:30 PM
RE: Block Command - Messenger API - by Millenium_edition on 09-15-2004 at 12:33 PM
RE: Block Command - Messenger API - by michael_m91 on 09-15-2004 at 12:42 PM
RE: Block Command - Messenger API - by Millenium_edition on 09-15-2004 at 12:53 PM
RE: RE: Block Command - Messenger API - by michael_m91 on 09-15-2004 at 01:10 PM
RE: Block Command - Messenger API - by CookieRevised on 09-15-2004 at 01:20 PM
RE: Block Command - Messenger API - by Millenium_edition on 09-15-2004 at 01:21 PM
RE: Block Command - Messenger API - by michael_m91 on 09-16-2004 at 12:35 AM


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