|
Posted by Peter Foot [MVP] on February 16, 2006, 6:52 am
Please log in for more thread options The following works, as it returns the string contents of the field -
doesn't try and interpret it as a full Uri:-
[C#]
session.Contacts.Items[0].Properties[Microsoft.WindowsMobile.PocketOutlook.ContactProperty.WebPage]
[VB]
session.Contacts.Items(0).Properties(Microsoft.WindowsMobile.PocketOutlook.ContactProperty.WebPage)
Peter
--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com
show/hide quoted text
> Ok, it seems like there's no way to extract the WebPage property from a
> Contact when created through the phone address book and given the value
> www.something.com (missing the http:// making it an invalid URI value).
> I've also tried accessing it trough the ContactProperty collection
> (ContactProperty[WebPage]) with no luck.
> Is my only option to do it natively? And how much work would it
> involve since I'm not very familiar doing things natively. Thank you.
>
|
> Contact when created through the phone address book and given the value
> www.something.com (missing the http:// making it an invalid URI value).
> I've also tried accessing it trough the ContactProperty collection
> (ContactProperty[WebPage]) with no luck.
> Is my only option to do it natively? And how much work would it
> involve since I'm not very familiar doing things natively. Thank you.
>