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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Mapi folder.FIND



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 2nd 13, 06:05 PM
Lucagorini Lucagorini is offline
Junior Member
 
First recorded activity at Outlookbanter: Jan 2013
Posts: 1
Default Mapi folder.FIND

Hi all!
i have a problem during search a contact in my custom form.
i haven't problem with the insert, but the search not run.

this is the code:

Public oContactFolder As Outlook.MAPIFolder
....
....
newitem = oContactFolder.Items.Find("[ID] = '" & .Item("mycode") & "'")

in this line have the error "Invalid property" (ID) and if I try to control
the "DefaultMessageClass" of oContactFolder, this is set "IPM.Contact" and not "IPM.Contant.MyOutlookMapiFolder"...

How can i set the defaultMessageClass?
thanxs a lot

luca
Ads
 




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
How to add a message to a mapi view folder madhavi Add-ins for Outlook 1 September 12th 09 12:32 AM
MAPI Read-only Folder AtulSureka Outlook - Using Forms 3 April 20th 09 08:13 PM
How to Programatically Access specific MAPI folder PS Add-ins for Outlook 4 February 17th 08 06:18 PM
Experts Challenge: MAPI is unable to access Public Folder store items [email protected] Outlook - General Queries 9 October 27th 06 01:54 PM
Mapi Folder Items ItemChange event is not firing AtulSureka Outlook and VBA 3 February 5th 06 07:25 PM


All times are GMT +1. The time now is 04:51 PM.


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.