.NET Components for Mobility

Delete SMS from SmartPhone/PDA Inbox

Last post 06-30-2008 9:44 AM by PeterFoot. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-30-2008 7:37 AM

    • LTCCTL
    • Not Ranked
    • Joined on 06-30-2008
    • Posts 1

    Delete SMS from SmartPhone/PDA Inbox

    Hi,

    I have created a SmartPhone/PDA application to send and recieve SMS. Now whenever the application is running and the message comes in, it is shown on the screen and is strored in the inbox(I have tried both the options Notify and NotifyAndDelete but I am not satisfied with that).


    I want to delete a SMS from SmartPhone/PDA inbox which has a specific word or string.

    I am using compact framework and C#.NET.

    Please let me know how we can do it.

    Thanks in advance

    Regards
    LTCCTL

  • 06-30-2008 9:44 AM In reply to

    Re: Delete SMS from SmartPhone/PDA Inbox

    The SmsMessage class has a Delete method to permanently remove the message, alternatively you could use the MoveTo method passing the DeletedItems folder.

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
Page 1 of 1 (2 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.