Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Contacts / September 2004

Tip: Looking for answers? Try searching our database.

Problem to save contact item in subfolder programmatically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MAFr - 15 Sep 2004 23:52 GMT
I try to save ContactItem in Contacts subfolder but can't (C#). It always
saves it in root contacts although I tried to navigate through Folders
collection, or activate subfolder through explorer, or whatever I could
imagine. Nothing helped.

Moreover, in MS VB help for ContactItem's save method I found:
"Saves the Outlook item to the current folder or, if this is a new item, to
the Outlook default folder for the item type."

which might be interpreted as forceful saving in Contacts folder.

Does somebody know if there is the way to save in subfolder. Help will be
appreciated.

Thanks in advance.
Sue Mosher [MVP-Outlook] - 16 Sep 2004 01:12 GMT
You need to be creating the item with Add method on the target MAPIFolder's
Folders collection.

FYI, there is a newsgroup specifically for general Outlook programming
issues "down the hall" at microsoft.public.outlook.program_vba or, via web
interface, at
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public
.outlook.program_vba


Signature

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

>I try to save ContactItem in Contacts subfolder but can't (C#). It always
>saves it in root contacts although I tried to navigate through Folders
[quoted text clipped - 11 lines]
>
> Thanks in advance.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.