Are you positive about that &H819B ID?
On my machines here the ID value for Contacts is &H853A. I can get Contacts
as a PT_MV_STRING8 value by using this:
GetIDsFromNames("{00062008-0000-0000-C000-000000000046}", &H853A) Or
PT_STRING8 Or &H1000

Signature
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
>I am trying to use a MAPITable on the default tasks folder with a
>restriction
[quoted text clipped - 16 lines]
> Any suggestions on how to configure this to be able to restrict on the
> contacts field of the tasks folder?
sonomaenterprises - 26 Aug 2005 15:47 GMT
You are correct H853A is the ID, I was trying other things (grasping...) when
I copied this code and forgot to change it back.
It still fails with the correct ID. I assume it has something to due with
the "Kind" of the field since it is ID and not String, I am just not sure
what to change.
Jack
> Are you positive about that &H819B ID?
>
[quoted text clipped - 24 lines]
> > Any suggestions on how to configure this to be able to restrict on the
> > contacts field of the tasks folder?
sonomaenterprises - 26 Aug 2005 21:57 GMT
Found it! Careless mistake, I did not have PT_STRING8 initialized.
Thanks,
Jack
> You are correct H853A is the ID, I was trying other things (grasping...) when
> I copied this code and forgot to change it back.
[quoted text clipped - 33 lines]
> > > Any suggestions on how to configure this to be able to restrict on the
> > > contacts field of the tasks folder?