quote:
Originally posted by Eljay
a few points..
- DisplayToast() displays a toast for you, it isnt possible to display a toast to your contact
- Contact.Blocked tells you if you blocked that person, not if they blocked you
- Sound file names need to be escaped properly (e.g. "C:\\blah.txt" instead of "C:\blah.txt")
edit: Nitemare, giving him wrong code seriously wont help..
better then what he had, it showed him that format atleast!
try this instead
code:
Person = Contacts.GetContact("XXXX@XXXX.nl");
Person.Blocked = True;
i'll stop posting now, since apparently i'm not helping