How to make a Msn Status Changer Visual Basics 2008/2010

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
4 posts Page 1 of 1
Contributors
User avatar
secretpker
Dedicated Member
Dedicated Member
Posts: 68
Joined: Sat Oct 30, 2010 11:07 pm

Hello this is my tutorial on how to make a Msn Status Changer in visual basics 2008/2010. It is very simple and easy.

IMPORTANT : Right click your form name in solution explorer and click add Refrence. Go to Com > Find Messenger API Type Libary

Add 4 Buttons

Rename the first button Online, rename the secound button Away, rename third button Busy and rename the fourth button Offline.

Under Public Class Form1
Code: Select all
Dim MSNChange As New MessengerAPI.Messenger
Button1 ( Online )
Code: Select all
MSNChange.MyStatus = MessengerAPI.MISTATUS.MISTATUS_ONLINE
Button2 ( Away )
Code: Select all
MSNChange.MyStatus = MessengerAPI.MISTATUS.MISTATUS_AWAY
Button3 ( Busy )
Code: Select all
MSNChange.MyStatus = MessengerAPI.MISTATUS.MISTATUS_BUSY
Button4 ( Offline )
Code: Select all
MSNChange.MyStatus = MessengerAPI.MISTATUS.MISTATUS_INVISIBLE
Last edited by secretpker on Fri Dec 24, 2010 10:21 pm, edited 2 times in total.
Image
User avatar
Proprogrammer
VIP - Donator
VIP - Donator
Posts: 415
Joined: Sun Oct 03, 2010 11:14 pm

cool, thanks for the code snippet.
------------------------------------------------------------------------------
Proprogrammer, not just a Programmer.
User avatar
XTechVB
VIP - Site Partner
VIP - Site Partner
Posts: 727
Joined: Thu May 20, 2010 10:32 am

nice, but i think this can be done by modifying some registry keys
You can find me on Facebook or on Skype mihai_92b
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

It is possible you can change the initial status from the registry but while messenger is running you need to use the API.
4 posts Page 1 of 1
Return to “Tutorials”