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

Outlook 2003, My Contacts view displays contact backups !!



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 13th 07, 09:41 PM posted to microsoft.public.outlook.program_addins
Chris
external usenet poster
 
Posts: 5
Default Outlook 2003, My Contacts view displays contact backups !!

Hello,

I am developing an Outlook com add-in that imports contacts from a
database to the Outlook address book. The add-in first creates a
backup of the contacts folder by copying it to another folder to avoid
any angry users.

This worked well under Outlook 2000 but it is causing problems with
Outlook 2003 since it has the My Contacts view. The problem is the My
Contacts displays ALL found contact folders ! It shows the contacts +
the contact backups folders ! This is confusing to the user + it gets
really messy really fast if the user has multiple sub folders.

http://img234.imageshack.us/my.php?i...ontactsnc4.jpg

I know the user can right click the contact folder and hit the "Remove
from My Contacts" option but this becomes a chore when multiple sub
folders are involved. I have been told that I cannot access this
option via automation (MAPI, Outlook API) is this true ? Do you have
another solution to this ?

Heck I am ready to change how the add-in performs the backup to avoid
this situation. Any suggestions ?

Thank you in advance!
Chris

  #2  
Old February 13th 07, 10:24 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2003, My Contacts view displays contact backups !!

Change how the addin performs. You have no access to that panel.

I'd probably create hidden items that are copies of the originals and move
those around for backups. As long as there aren't too many contacts that
would work and the user would never see the hidden items. Problem is you
have to use CDO or Extended MAPI or a MAPI wrapper like Redemption to access
hidden items that way.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Chris" wrote in message
oups.com...
Hello,

I am developing an Outlook com add-in that imports contacts from a
database to the Outlook address book. The add-in first creates a
backup of the contacts folder by copying it to another folder to avoid
any angry users.

This worked well under Outlook 2000 but it is causing problems with
Outlook 2003 since it has the My Contacts view. The problem is the My
Contacts displays ALL found contact folders ! It shows the contacts +
the contact backups folders ! This is confusing to the user + it gets
really messy really fast if the user has multiple sub folders.

http://img234.imageshack.us/my.php?i...ontactsnc4.jpg

I know the user can right click the contact folder and hit the "Remove
from My Contacts" option but this becomes a chore when multiple sub
folders are involved. I have been told that I cannot access this
option via automation (MAPI, Outlook API) is this true ? Do you have
another solution to this ?

Heck I am ready to change how the add-in performs the backup to avoid
this situation. Any suggestions ?

Thank you in advance!
Chris


  #3  
Old February 14th 07, 02:37 PM posted to microsoft.public.outlook.program_addins
Chris
external usenet poster
 
Posts: 5
Default Outlook 2003, My Contacts view displays contact backups !!

On Feb 13, 5:24 pm, "Ken Slovak - [MVP - Outlook]"
wrote:
Change how the addin performs. You have no access to that panel.

I'd probably create hidden items that are copies of the originals and move
those around for backups. As long as there aren't too many contacts that
would work and the user would never see the hidden items. Problem is you
have to use CDO or Extended MAPI or a MAPI wrapper like Redemption to access
hidden items that way.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm

"Chris" wrote in message

oups.com...

Hello,


I am developing an Outlook com add-in that imports contacts from a
database to the Outlook address book. The add-in first creates a
backup of the contacts folder by copying it to another folder to avoid
any angry users.


This worked well under Outlook 2000 but it is causing problems with
Outlook 2003 since it has the My Contacts view. The problem is the My
Contacts displays ALL found contact folders ! It shows the contacts +
the contact backups folders ! This is confusing to the user + it gets
really messy really fast if the user has multiple sub folders.


http://img234.imageshack.us/my.php?i...ontactsnc4.jpg


I know the user can right click the contact folder and hit the "Remove
from My Contacts" option but this becomes a chore when multiple sub
folders are involved. I have been told that I cannot access this
option via automation (MAPI, Outlook API) is this true ? Do you have
another solution to this ?


Heck I am ready to change how the add-in performs the backup to avoid
this situation. Any suggestions ?


Thank you in advance!
Chris


Thanks for the tip Ken.

I will look into the hidden items option, I am currently using
Redemption so it should no be to hard to do right ? How many contacts
is to to many contacts 1000 ?

Any links on how to set items as hidden ? If not no problem I will
just Google it.

Thanks.
Chris

  #4  
Old February 14th 07, 02:47 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2003, My Contacts view displays contact backups !!

With Redemption you get an RDOFolder object for a specific folder. That
object has both an Items and HiddenItems collection. Just access the
HiddenItems collection and use the Add method to add items to that.

As long as you don't exceed the overall limit on the number of items in a
folder (depends on your PST or Exchange store) you're OK. If the limit is
say 65534 items that's how many you can have in total. Just make sure to
delete each hidden item after backing it up so you don't build up a vast
collection of hidden items.

The nice thing about hidden items is that since the user can't see them they
can't screw them up.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Chris" wrote in message
ups.com...
On Feb 13, 5:24 pm, "Ken Slovak - [MVP - Outlook]"
wrote:
Change how the addin performs. You have no access to that panel.

I'd probably create hidden items that are copies of the originals and
move
those around for backups. As long as there aren't too many contacts that
would work and the user would never see the hidden items. Problem is you
have to use CDO or Extended MAPI or a MAPI wrapper like Redemption to
access
hidden items that way.


  #5  
Old February 16th 07, 06:42 PM posted to microsoft.public.outlook.program_addins
Chris
external usenet poster
 
Posts: 5
Default Outlook 2003, My Contacts view displays contact backups !!

On Feb 14, 9:47 am, "Ken Slovak - [MVP - Outlook]"
wrote:
With Redemption you get an RDOFolder object for a specific folder. That
object has both an Items and HiddenItems collection. Just access the
HiddenItems collection and use the Add method to add items to that.

As long as you don't exceed the overall limit on the number of items in a
folder (depends on your PST or Exchange store) you're OK. If the limit is
say 65534 items that's how many you can have in total. Just make sure to
delete each hidden item after backing it up so you don't build up a vast
collection of hidden items.

The nice thing about hidden items is that since the user can't see them they
can't screw them up.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm

"Chris" wrote in message

ups.com...

On Feb 13, 5:24 pm, "Ken Slovak - [MVP - Outlook]"
wrote:
Change how the addin performs. You have no access to that panel.


I'd probably create hidden items that are copies of the originals and
move
those around for backups. As long as there aren't too many contacts that
would work and the user would never see the hidden items. Problem is you
have to use CDO or Extended MAPI or a MAPI wrapper like Redemption to
access
hidden items that way.


Thanks Ken !

Yes indeed the RDOFolder object seems a good solution but...

I have been looking at the object and it seems you can only hide items
and not folders no ? What I am trying to prevent is the display of
backed up contact folders in the My Contact view. Just the creation of
an empty "Contacts Items" folder causes it's display in the My
Contacts view. Is there a way of hiding a folder and it's sub
folders ??

*** Note: I could have some double posts in this group since every
post I do does not seem to be accepted right now !!! ***
Chris

  #6  
Old February 16th 07, 08:20 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2003, My Contacts view displays contact backups !!

I don't think you can create a hidden folder like you want, at least in my
tests I've never been able to. I can only create new search folders under
Finder and new visible folders under IPM_SUBTREE.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Chris" wrote in message
oups.com...
snip
Thanks Ken !

Yes indeed the RDOFolder object seems a good solution but...

I have been looking at the object and it seems you can only hide items
and not folders no ? What I am trying to prevent is the display of
backed up contact folders in the My Contact view. Just the creation of
an empty "Contacts Items" folder causes it's display in the My
Contacts view. Is there a way of hiding a folder and it's sub
folders ??

*** Note: I could have some double posts in this group since every
post I do does not seem to be accepted right now !!! ***
Chris


 




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
Outlook 2003 My Contacts view and contact folder copies ! Chris Outlook - Using Contacts 0 February 13th 07 08:53 PM
Calendar View shows 2 contact folders not calendars (Outlook 2003, Exchange 2003, WinXP Pro) [email protected] Outlook - General Queries 1 March 15th 06 03:23 PM
Make backups of contacts but keeping the division Margarida123 Outlook - Using Contacts 4 March 9th 06 03:02 PM
address book displays email 2 and 3 in Outlook 2003 Brent Bortnick Outlook - Using Contacts 1 February 24th 06 12:02 AM
Contact displays Fr. M Outlook - Using Contacts 4 February 22nd 06 12:17 PM


All times are GMT +1. The time now is 08:50 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.