code:
Private MessengerAPI
Option Explicit
Public Function Initialize(ByVal nVersion As Long, ByVal sUserEmail As String, ByVal oMessenger As Object) As Boolean
Initialize = True
Set MessengerAPI = oMessenger
If MessengerAPI.MyStatus <> MISTATUS_OFFLINE Then
retval = SetNewName("New Name")
Endif
End Function
If that will check to see if the user is logged into Messenger if it is you change change the name when the Plugin is initialized.
Also please try to refrain from double posting. Use the
button to edit your posts.
Edit: Now here is some count down code for you.
code:
DateDiff("d", Now, "12/12/2005")
This will tell you how many days you have till 12/12/2005. You can store a value in the registry on the last day it was changed then change it accordingly.