oMessenger.MyStatus is the keyword...
...
Use the MISTATUS Constants...
Eg: Setting your status to online would be
code:
oMessenger.MyStatus = MISTATUS_ONLINE
You have to remember that "oMessenger" would have to be replaced by the object messenger name..
... Of course I guess you knew this...?
If you have not set a reference to Windows Messenger/Messenger Api Type Library you can still do this, you would just need to know the integer number for the different states..
The different MISTATUS Constants and there equvilent Integer are as follows:
MISTATUS_ONLINE = 2
MISTATUS_BE_RIGHT_BACK = 14
MISTATUS_AWAY = 34
MISTATUS_BUSY = 10
MISTATUS_ON_THE_PHONE = 50
MISTATUS_OUT_TO_LUNCH = 66
MISTATUS_INVINSIBLE = 6
I am not sure if I was clear enough?.. Hope this helped you...
...
And btw, Welcome to the forum!
...