.NET Components for Mobility

Appointment.Body always returns ""

Last post 08-05-2008 10:24 AM by chris_s. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-31-2008 9:35 AM

    Appointment.Body always returns ""

    Hello,

    we want to use "InTheHand.WindowsMobile.dll" version 3.2.0.0 (registered) on the the following system

    - WinCE 5.0 on ARM4
    - CF 2.0
    - VB.Net

    Problem: Appointment.Body always returns an empty string, even after you assign a value to it.

    Does someone have an idea how to fix this?

    Background: we are currently using version 2.1.60828 and use the (working) appointment.BodyInk-property there. The Body-property doesn't work for this older version, too. In version 3.2.0.0 BodyInk doesn't exist anymore.

    Thanks!

    Chris

  • 08-05-2008 7:09 AM In reply to

    Re: Appointment.Body always returns ""

    Are you calling Update() after setting the body value? Can you be more specific about the device - is it custom CE 5.0 device rather than Windows Mobile?

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
  • 08-05-2008 10:24 AM In reply to

    Re: Appointment.Body always returns ""

    Hello Peter,

    thank you for your reply.
    We are using a custom CE 5.0-device, not Windows Mobile.

    Independent of calling Update() or not, the body-property itself does not show any value after an assignment.

    Here are my testsources:

    --------------------------------------

    Dim s1, s2, s3 As String

    Dim app As New InTheHand.WindowsMobile.PocketOutlook.Appointment       'first test using a "stand-alone"-appointment-object

    app.Body = "test"

    s1 = app.Body

    Dim Session As New InTheHand.WindowsMobile.PocketOutlook.OutlookSession   '2nd test using an apoointment assigned to the OutlookSession

    app = Session.Appointments.Items.AddNew()

    app.Body = "test"

    s2 = app.Body

    app.Update()

    s3 = app.Body

    --------------------------------- 

    s1,s2 and s3 show empty strings (as the debugger does if you watch app.body directly). Other properties (like Subject,..) are working fine.

    Best regards

    Chris

Page 1 of 1 (3 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.