Jaa


Microsoft.WindowsMobile.PocketOutlook

Don's latest article on developer.com gives a tour of the Microsoft.WindowsMobile.PocketOutlook namespace and includes some demos showing how easy it now is to access PIM information from .NET CF.

-Robert

Comments

  • Anonymous
    October 17, 2005
    Sorry for ask non-relative question..
    I find a ambiguity about register a Messaging tranport on MSDN document. I find that the registry key path [HKEY_LOCAL_MACHINESoftwareMicrosoftInboxsvc<TransportName>] which is written on readme.txt of transportdemo sample
    is different between that wrttten on MSDN document ([HKEY_LOCAL_MACHINESoftwareMicrosoftInboxTransports<TransportName>]).
    Which one is correct?! However,I have try above the path.The former can choose Transportdemo transport during Inbox account wizard ,but in the latter case no transportDemo do not appear in Inbox account wizard.
    But above two case result in the same outcome ,there is not any new transportdemo account was created in INBOX folder listview.
    What should i Do..?!

    Sorry for poor english

  • Anonymous
    January 01, 2006
    I just tried to add a reference to Microsoft.WindowsMobile, but I don't see it in my list of dll's. I browsed for it, but all I could find was the DirectX dll.

    Where can I find Microsoft.WindowsMobile and the PocketOutlook dll's?

    Thanks,
    Gg

  • Anonymous
    February 28, 2006
    I have two suggestions to improve Pocket Outlook.
    1-In calender, when u add a list of attendees u should b able to contact them for schedules thru SMS as well as Email as its more convenient when using a cell fone.

    2-In tasks, where u set alarms for a task, u should b able to send SMS in lieu of ararm to the person concerning that particular task.

    I suppose these options should not b difficult to add to the next version of pocket outlook and I feel these two things would make outlook more practical (at least) in (my) daily business routine.

  • Anonymous
    May 05, 2006
    Where can I find Microsoft.WindowsMobile and the PocketOutlook dll's?

    ceo@numlive.com

    thanks!

  • Anonymous
    May 10, 2006
    You can find Microsoft.WindowsMobile.dll and Microsoft.WindowsMobile.PocketOutlook.dll as part of the DLLs you can reference once you have installed the Windows Mobile 5.0 SDK.

    Notice that you will able to reference these DLLs only if you created a smart device project that targets Windows Mobile 5.0 devices.

    thanks!
    -Luis E. Cabrera

  • Anonymous
    June 02, 2006
    can we have Microsoft.WindowsMobile.PocketOutlook on PPC 2003 SE??

  • Anonymous
    June 02, 2006
    I have used POOM send sms and received sms,but I can't received sms body?why?I can't find errors in source code
    source code:
    --------------------------
    Send Message

    using Microsoft.WindowsMobile.PocketOutlook;

    SmsMessage a = new SmsMessage("13988888888", "SmsMessage Test

    a.Send();

    ------------------------------
    //received sms
    Microsoft.WindowsMobile.PocketOutlook.MessageInterception.MessageInterceptor nSms;

    void nSms_MessageReceived(object sender, Microsoft.WindowsMobile.PocketOutlook.MessageInterception.MessageInterceptorEventArgs e)
           {            
               listBox21.Items.Add(a.Body);
               listBox21.Items.Add(e.Message.From.Address.ToString());
               listBox21.Items.Add(e.Message.From.Name.ToString());
               //throw new Exception("The method or operation is not implemented.");
           }

           private void Form1_Load(object sender, EventArgs e)
           {
               nSms = new Microsoft.WindowsMobile.PocketOutlook.MessageInterception.MessageInterceptor();
               nSms.InterceptionAction = Microsoft.WindowsMobile.PocketOutlook.MessageInterception.InterceptionAction.NotifyAndDelete;
               nSms.MessageCondition.CaseSensitive = true;
               nSms.MessageCondition.Property = Microsoft.WindowsMobile.PocketOutlook.MessageInterception.MessageProperty.Sender;
               nSms.MessageCondition.ComparisonType = Microsoft.WindowsMobile.PocketOutlook.MessageInterception.MessagePropertyComparisonType.Equal;
               nSms.MessageCondition.ComparisonValue = "13988888888";
               nSms.MessageReceived += new Microsoft.WindowsMobile.PocketOutlook.MessageInterception.MessageInterceptorEventHandler(nSms_MessageReceived);          

           }




  • Anonymous
    June 05, 2006
    Pierre,

    Unfortunately Microsoft.WindowsMobile.PocketOutlook is not supported on PPC 2003 SE, it is supported in Windows Mobile 5.0 and higher versions only.

    One of our MVPs wrote "Mobile In The Hand v2.0"
    (http://www.inthehand.com/WindowsMobile.aspx) it is similar to WindowsMobile.PocketOutlook and it works on PPC 2003 as well. You might want to check it out.

    Thanks.
    Luis E. Cabrera
    SDE - Microsoft.

  • Anonymous
    June 05, 2006
    numlive.com:
    Shouldn't you write
    listBox21.Items.Add(e.Message.Body);
    instead of
    listBox21.Items.Add(a.Body); ?

    Thanks,
    Luis E. Cabrera

  • Anonymous
    June 06, 2006
    To LuisCa:
    Thanks!
    But e.Message.Body is not exist.It means that e.Message have no "Body" property.So i can't read from e.Message.Body

  • Anonymous
    June 08, 2006
    void nSms_MessageReceived(object sender, Microsoft.WindowsMobile.PocketOutlook.MessageInterception.MessageInterceptorEventArgs e)
    {
       if (e.Message is SmsMessage)
       {
           SmsMessage sms = (SmsMessage)e.Message;
           listBox21.Items.Add(sms.Body);
       }
       else
           listBox21.Items.Add("unknown message");

       listBox21.Items.Add(e.Message.From.Address.ToString());
       listBox21.Items.Add(e.Message.From.Name.ToString());
       //throw new Exception("The method or operation is not implemented.");
    }

  • Anonymous
    June 10, 2006
    To cppbuilder:
    thank you very much!

  • Anonymous
    June 11, 2006
    I used a filter to display only appointments of the actual day using PimItemCollection.Restrict() with a string filter like "[Start] > ActualDate and [Start] < ActualDate+1". If I change the separator symbol for displaying dates of my PPC as "/" into "-", the method doesn't work anymore and my application crashes ...

    Do you know how can I correct this problem ?

    Thank you

  • Anonymous
    June 12, 2006
    Thanks Pb. Our Pocket Outlook Object Model team will look into the issue you mentioned.

    For now, you should be able to work around this issue by using the variant date format.

    [Start] > <Variant_date and [Start] < <Variant_date

    Where the date is between CAL_MINDATE and CAL_MAXDATE in double in Variant Date format.

    CAL_MINDATE, CAL_MAXDATE
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/mob5lrfmaximumminimumdatesforcalendarentries.asp

    You can use SystemTimeToVariantTime as one way (depending on what format you currently have the date in) to convert to a variant time format.
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/mob5lrfipoutlookappsystemtimetovarianttime.asp

    Thanks,
    -Luis E. Cabrera

  • Anonymous
    June 13, 2006
    SeeB,

    Could you tell which format you currently have your date in? That would help us investigate the issue with changing the date separator symbol.

    Also, if you have the actual code snippet on how your create the restrict statement, please provide that as well.

    Thanks,
    Olga

  • Anonymous
    June 26, 2006
    I have a Smartdevice application developed in vb.net 2003. And I used mooseworks dll to read (send,attach,etc) outlook mails in the PocketPC. Now I switched from .net 2003 to .net 2005 and I want to use windows mobile 5.0 sdk instead of mooseworks.

    I am unable to read the pop3 account mails which I created.

    How to read the inbox mails, how to get the total mail count in an account and how to attach a file with mail. Pls help in this.

    Thanks in advance

    Kishore

  • Anonymous
    June 27, 2006
    Kishore,

    Unfortunately Microsoft.WindowsMobile.PocketOutlook currently does not allow you to read outlook e-mail messages.

    Currently it only allows you to send e-mail messages.

    So you will have to continue using third party DLLs (like the one you mentioned) or P-Invoke a native DLL that you write using the CEMAPI native APIs.

    Thanks.

    -Luis E. Cabrera

  • Anonymous
    August 22, 2006
    The comment has been removed

  • Anonymous
    August 22, 2006
    The comment has been removed

  • Anonymous
    September 04, 2006
    how to return all tasks from pocket outlook using vb.net 2005

  • Anonymous
    October 27, 2006
    I am developing application in vs2005 and pocket pc 2003 SE. in my application i will list the names and address from pocket pc outlook contacts. i am new in pocket pc application. please tell me briefly. thank u.

  • Anonymous
    October 30, 2006
    Raj, If you are targeting PPC 2003 you will not be able to use the Microsoft.WindowsMobile managed assembliens to enumerate the outlook contacts. If you need to write a managed application (C# /VB.net), you would need to P-Invoke (DllImport) the native pocket outlook object model (POOM) API. If you can write your application natively (C++), you can use the POOM APIs directly. This link has a few examples of how to use the POOM APIs: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/html/ppc_conpocketoutlookobjectmodel.asp Good luck with your program, Luis Cabrera

  • Anonymous
    November 30, 2006
    I want to read the body of the mail from SMTP Server thru c# 2.0 coding

  • Anonymous
    January 12, 2007
    its been nice to see u all working on ppc.... because i am new in this field.....can any one of u tell me how to write an application to send and receive SMS(in ppc) using vb.net

  • Anonymous
    January 28, 2007
    Hi all, i am working on a smart device application on VS2005 and using Windows Mobile 5.0 SDK. I wanted to ask if it is possible to extract the attachment of an incomming mail and save it to the hard drive. If yes plz tell me how Thanks Dhiraj

  • Anonymous
    February 27, 2007
    I tried to add a reference to Microsoft.WindowsMobile, but I don't see it in my list of dll's. I browsed for it, but all I could find only DirectX dll. Where can I find Microsoft.WindowsMobile and the Microsoft.WindowsMobile.PocketOutlook dll's?

  • Anonymous
    February 28, 2007
    In order to utilize the new managed classes for Pocket Outlook, you need the following: 1.Visual Studio 2005 2.A Windows Mobile 5.0 device (Pocket PC, Pocket PC Phone Edition or Smartphone) You'll find the Microsoft.WindowsMobile.dll and Microsoft.WindowsMobile.PocketOutlook.dll in the Add References dialogbox.

  • Anonymous
    May 22, 2007
    Hi all, I have a question about C# programme and smart device/pocket pc/mobile device programme... I wrote a project in C# languages for windows. But i want to convert that project for mobile devices... what should i do? How is it possible? please help me

  • Anonymous
    May 22, 2007
    Hi william, what exactly are you trying to do? your question is too vague.

  • Anonymous
    May 29, 2007
    hi, i want to add events on PocketOutlook Calendar.. but i m not able to find out outlook Calendar so that i can create its instace and add or delete events on it

  • Anonymous
    June 06, 2007
    I need to write my custom code in the Item Send event in PocketOutlook using C# What should I do to override the Sent event Thanks in advance

  • Anonymous
    June 07, 2007
    Does anybody knows how to send an email using C# with an attached file?

  • Anonymous
    June 14, 2007
    Is it possible to customise the menus within pocket outlook (wm 5)- you used to be able do do this with the 2003 version by adding the appropriate registry key under HKLMSoftwareMicrosoftPimAppsPimExtensionsAddIns and providing a dll that exports a CePimCommand ?

  • Anonymous
    July 17, 2007
    The comment has been removed

  • Anonymous
    August 07, 2007
    Anyone knows how to get last modification date of a record. When I retrieve a contact for instance using IItem interface like this hr = m_pIItem->GetProps(m_rgPropId, CEDB_ALLOWREALLOC, 1, &prgPropvalPoom, &cbBuffer, hHeap); if (hr == S_OK){ strProp = prgPropvalPoom->val.lpwstr; /CString csFileTime; tFileTime = prgPropvalPoom->val.filetime; csFileTime = tFileTime.Format( _T("%A, %B %d, %Y") );/ FileTimeToSystemTime( &(prgPropvalPoom->val.filetime),&stUTC); I get a wrong file time. is it normal ?

  • Anonymous
    August 31, 2007
    Can anybody pls help me in retrieveing appointments from access database into PocketOutlook

  • Anonymous
    September 06, 2007
    what is "找不到文件或程序集名称“Microsoft.WindowsMobile.PocketOutlook, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35”,或找不到它的一个依赖项。"

  • Anonymous
    November 21, 2007
    This all posts are really imporatant for me. really valuable for me Thanks all of them who participated. If possible please give me some examples on Directly Send Report to Smartdevice. Thanks to all,

  • Anonymous
    November 23, 2007
    how can send and receive sms on mobile using C#.

  • Anonymous
    June 19, 2008
    Does anybody knows how to receive an email using C# with an attached file?

  • Anonymous
    March 02, 2009
    The comment has been removed