?
Solved

Prevent Outlook Contact Birthday records from generating a reminder

Posted on 2004-10-18
8
Medium Priority
?
762 Views
Last Modified: 2008-01-16
Hi,

I have written a VB program to add Outlook contact records from a third party source.  It works great except for one detail.

The contacts have birthday fields filled in.  Since I have close to 500 contacts, I now get reminders every day that it's somebody's birthday, and I really don't want to know this.

I don't want to disable all reminders, for I use them for other tasks, appointments, etc.  I would like to only disable the reminders for the contact records, ideally when I am adding them.

I found the .ReminderSet parameter, but it does not appear to apply to contactitems.  Is there a way for me to specify at the creation time of the contact NOT to create the reminder?

many thanks...
0
Comment
Question by:localmagic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
8 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 12344022
How about not adding the birthday when you input the contact record?

mlmcc
0
 
LVL 19

Expert Comment

by:BrianGEFF719
ID: 12344808
POST CODE PLEASE.

-Brian
0
 

Author Comment

by:localmagic
ID: 12345977
We would like to leave the birthday in the record for reference, but that was the only other way I could think of too!
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:localmagic
ID: 12345994
Code is something like this...

With ContactItems.Add
        .Title = RS!Salut & ""
        .FirstName = RS!FstName & ""
        .MiddleName = RS!MidInit & ""
        .LastName = RS!LstName & ""
        .Suffix = RS!namesuf & ""
        ....etc..etc...etc
           
        .Birthday = RS!DOB & ""
               
        .Save
0
 

Author Comment

by:localmagic
ID: 12422373
I've actually given up on the Birthday field entirely at this point, since there does not seem to be anyway to prevent the reminders.  

Is there a way to delete these reminders I have accumulated??  This doesn't seem to do the trick...

Sub DeleteBirthdays()
'
    Dim olApp As Outlook.Application
    Dim objRem As Reminder
    Dim objRems As Reminders

    Set olApp = Outlook.Application
    Set objRems = olApp.Reminders
       
    ' Loop thru all reminders
    If olApp.Reminders.Count <> 0 Then
        For Each objRem In objRems
            If Right(objRem.Caption, 8) = "Birthday" Then
                objRem.Item.Delete
            End If
        Next objRem
    End If
       
End Sub
0
 

Author Comment

by:localmagic
ID: 12770049
For anybody suffering with the same sort of problem, here's some final notes...

1) There doesn't seem to be anyway to prevent the reminders if you use the birthday field.

2) If you have Exchange 2003 without SP1, the reminders cannot be dismissed in some cases.  This is caused by a COM component buffer overflow, apparently triggered when Exchange has to process too many bits of data at once (like when I tried to add 500 contact records at once).  SP1 (at this point) seems to resolve the COM issue.

Hope this helps somebody someday...
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 12770701
Glad i could help

mlmcc
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question