PC Review


Reply
Thread Tools Rate Thread

How can i retrieve MAPIFolder

 
 
maka
Guest
Posts: n/a
 
      16th Nov 2005
I programming an Outlook 2003 Plugin with VS2003.

How can i retrieve the MAPIFolder in wich is a specific ContactItem
stored? any ideas?

 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      16th Nov 2005
The ContactItem.Parent property returns the folder where an item is stored.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"maka" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>I programming an Outlook 2003 Plugin with VS2003.
>
> How can i retrieve the MAPIFolder in wich is a specific ContactItem
> stored? any ideas?
>

 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      16th Nov 2005
Item.Parent is the MAPIFolder where Item lives.

--
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


"maka" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I programming an Outlook 2003 Plugin with VS2003.
>
> How can i retrieve the MAPIFolder in wich is a specific ContactItem
> stored? any ideas?
>


 
Reply With Quote
 
maka
Guest
Posts: n/a
 
      17th Nov 2005
thank you all. it works fine.

MAPIFolder mFolder = (MAPIFolder) ContactItem.Parent;

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why don't I need a MapiFolder object? Carol G Microsoft Outlook VBA Programming 5 17th Jan 2007 05:38 AM
MapiFolder =?Utf-8?B?VG9t?= Microsoft Access Macros 0 21st Jul 2005 09:27 PM
Re: Failed to retrieve mail items in a Outlook.MAPIFolder object Guest Microsoft C# .NET 0 14th Apr 2005 05:56 PM
Name of MAPIFolder. Semut Microsoft Outlook VBA Programming 6 6th Apr 2005 03:19 AM
The name of the MAPIFolder Semut Microsoft Outlook VBA Programming 0 9th Nov 2004 07:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:58 AM.