A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Send method clears Body of appointment



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 22nd 09, 09:07 PM posted to microsoft.public.outlook.program_addins
Steve*n
external usenet poster
 
Posts: 4
Default Send method clears Body of appointment

I've created a Seperate FormRegion for Appointments and within that form
region there is a button that has the following definition.
Outlook.AppointmentItem appt = (Outlook.AppointmentItem)this.OutlookItem;

appt.Body = CreateBody();

((Outlook._AppointmentItem)appt).Save();

((Outlook._AppointmentItem)appt).Send();



The Body of the appointment disappears under common circumstances.

If I comment out the Send() and just Save() the body will stay, even if I
close the appt and open it back up.

If I leave the Send() in then the Body will be deleted when I open the appt
back up again.

If I have two buttons, one for Save and one for Send() and I click the
Save() button first and then the Send() button the body will disappear.

However, if I click the Save() button within the custom Form Region and then
go back to the Body of the Appointment and then switch back to my Form
Region and click Send() the body will remain.

It's almost as if the Body doesn't get updated unless the Body section of
the Appointment is viewed before Sending it.

Any ideas? I've tried multiple combinations and am up to trying more if you
have an idea.

Thanks




Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Send E-mail Authentication method error in Outlook 2007 Mary Outlook - Installation 2 May 9th 08 05:38 PM
OL 2003 .nk2 file clears on reboot rmullins Outlook - General Queries 2 June 18th 07 04:44 PM
Outlook Object Send Method Rob Outlook and VBA 1 March 17th 07 06:49 PM
Missing Body in Appointment ML Outlook - Using Forms 1 October 2nd 06 12:08 PM
How can I change the body of an appointment Raphael Outlook - Calandaring 1 February 16th 06 06:36 PM


All times are GMT +1. The time now is 09:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.