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 / Programming Add-Ins / April 2005

Tip: Looking for answers? Try searching our database.

Outlook object model

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frank - 21 Apr 2005 15:01 GMT
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
Dmitry Streblechenko - 22 Apr 2005 00:20 GMT
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

>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
[quoted text clipped - 8 lines]
>
> Frank
Frank - 23 Apr 2005 18:54 GMT
> 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
[quoted text clipped - 19 lines]
>>
>>Frank

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
Dmitry Streblechenko - 25 Apr 2005 19:00 GMT
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

>> 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
[quoted text clipped - 35 lines]
>
> Frank
 
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.