cheers for that CookieRevised, works now.
however, i've came across another problem, since starting my main project (before was obviously just to learn how to do the basics).
Now im trying to send the contacts email address to the dll when they sign in, and im using this to do it:
function OnEvent_ContactSignin(Email){
var MyActiveXObject = new ActiveXObject('Project1.Class1');
var Contacts = Messenger.MyContacts
var Contact = Contacts.GetContact(Email)
MyActiveXObject.main1(Contact.Email)
}
It works. However, one slightly odd problem is that when the contact really signs in, i get the info sent to my dll, and the contact is shown online in the contact list. good.
But while trying to do this quickly for testing, i was just blocking/unblocking, to mimic a sign-in, and although i got the info to my dll saying the contact came online - the contact is not shown online in the contact list.
i guess thats some sort of bug in wlm, or plus?