473,378 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 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 1751
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Shyguy | last post by:
Is it possible to create a calendar that shows previous input data and also allows for input of new data?
1
by: John | last post by:
Hi I would like a dialog of reminders to appear on top of all other apps. I also do not want it to be modal in a way that it blocks the app until it is closed. This is similar to outlook...
3
by: Chris Thunell | last post by:
I am looping through a Public Folder in our Exchange 2003 server system and i keep getting invalid cast exceptions although the Message Class is set correctly for each item. It works until i get...
7
by: Joseph Geretz | last post by:
I've been working on an Addin for Outlook in C#. It hasn't been long now, just a couple of days. Suddenly though, running my project in Debug launches Outlook as specified, but no breakpoints...
6
by: Pieter | last post by:
Hi, I developed an Outlook Add In (VB.NET 2005, for Outlook 2003) that sometimes suddenly stops loading. I've put everywhere in the code Exception Handlers, but no Exception is catched. it...
3
by: Jeff | last post by:
I am trying to send emails from my application (not using a plugin, that will come later), I can create an email and add attachments. I can fill in the body etc. Word works for the editor. So...
4
by: Brian Hampson | last post by:
I recently upgraded to Outlook 2007 B2TR and have found that I can no longer code against MAPI.DLL It's gone :( Using C#, I used to get the MAPI session, and from that I could change the out of...
5
by: John | last post by:
Hi I have an Outlook add-in solution which includes a setup project. If I install the Outlook add-in by right clicking on the setup project and sleeting Install then the add-in gets installed...
5
by: njuneardave | last post by:
I have a full-screen C# app, but windows notifications (the little balloons on the bottom right-hand of the screen) and outlook reminders will pop on top of my app. i want to prevent them from...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.