Outlook object model

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

I have found that the web page address of a contact returned by the
Outlook object model (Outlook 2000) has the "http://" prefix added when
the prefix is not already in the address (as viewed with OutlookSpy).

Does the Outlook object model do any other conversions when reading (or
setting) fields?

Is this documented?

Thanks,

Frank
 
Of course: all datetime props are converted from GMT to the local timezone;
if a datetime prop is missing, OOM returns 1/1/4500, in ANSI stores all
string properties are converted to Unicode using the ANSI value of the prop
and the value of PR_INTERNET_CPID, plain text body is dynamically converted
from PR_RTF_COMPRESSED rather than PR_BODY, etc, etc, etc.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Dmitry said:
Of course: all datetime props are converted from GMT to the local timezone;
if a datetime prop is missing, OOM returns 1/1/4500, in ANSI stores all
string properties are converted to Unicode using the ANSI value of the prop
and the value of PR_INTERNET_CPID, plain text body is dynamically converted
from PR_RTF_COMPRESSED rather than PR_BODY, etc, etc, etc.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
Thanks Dmitry.

To make my original question more specific, I was wondering if the OOM
might do any kind of formatting on:

address fields,
email fields, or
phone number fields

I remember seeing a country code difference ("US" vs "U.S.") but I do
not know if the difference was caused by the Outlook program itself, or
the OOM.

Frank
 
AFAIK Outlook reformats the dates/addresses/phones #s/etc when you enter
them, but not when you access them through OOM.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top