Mapi folder.FIND


L

Lucagorini

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 t
control
the "DefaultMessageClass" of oContactFolder, this is set "IPM.Contact
and not "IPM.Contant.MyOutlookMapiFolder"...

How can i set the defaultMessageClass?
thanxs a lot

luc
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top