471,570 Members | 902 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,570 software developers and data experts.

Question on outlook birtday reminders

Hi

I am working with visual studio.net 2005 and outlook 2003

So I am working on this outlook project that will take our clients and
then create contacts for them.Now the users want a choice: To decide if
they just want to display the date and set a reminder or have just a
date with no birthday reminder.

On default if there is a birthdate provided, outlook creates a reminder
on the calendar, but what do I do when I want to display the birthday
on a contact, but nos set a reminder on the calendar

Plzzz, anyone, how do I do this?
contactItem.Attachments. = false Doesn't work, because 'Attachments'
is read only


contactItem.LastName = SystemClient.Surname;
contactItem.FirstName = SystemClient.Name;
contactItem.Title = SystemClient.Title;

if (!SystemClient.CreateBirthdayReminder)
{
//contactItem.Attachments. = false;

}
else
{
//contactItem.Attachments = true;
}

contactItem.Birthday = SystemClient.Birthdate;
contactItem.CompanyName = SystemClient.Company;

Thanks in Advance

Feb 2 '06 #1
2 1684
Wolf,

Isn't attachments a collection? If so, why are you trying to set it to
a boolean value?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Wolf" <ja********@citadel.co.za> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi

I am working with visual studio.net 2005 and outlook 2003

So I am working on this outlook project that will take our clients and
then create contacts for them.Now the users want a choice: To decide if
they just want to display the date and set a reminder or have just a
date with no birthday reminder.

On default if there is a birthdate provided, outlook creates a reminder
on the calendar, but what do I do when I want to display the birthday
on a contact, but nos set a reminder on the calendar

Plzzz, anyone, how do I do this?
contactItem.Attachments. = false Doesn't work, because 'Attachments'
is read only


contactItem.LastName = SystemClient.Surname;
contactItem.FirstName = SystemClient.Name;
contactItem.Title = SystemClient.Title;

if (!SystemClient.CreateBirthdayReminder)
{
//contactItem.Attachments. = false;

}
else
{
//contactItem.Attachments = true;
}

contactItem.Birthday = SystemClient.Birthdate;
contactItem.CompanyName = SystemClient.Company;

Thanks in Advance

Feb 2 '06 #2
Yes sorry my mistake, all attachment really do is: You can use to see
if someone has a attachment or not.
Which means I cant use it

Al I want to do is to prevent a reminder to be created when I insert a
birthday of a contact

Feb 2 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Shyguy | last post: by
1 post views Thread by John | last post: by
7 posts views Thread by Joseph Geretz | last post: by
6 posts views Thread by Pieter | last post: by
3 posts views Thread by Jeff | last post: by
4 posts views Thread by Brian Hampson | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by Vinnie | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.