I would guess that you need to run it on a server (NOT YOUR EXCHANGE SERVER) where Outlook (and therefore ExCDO) is installed. -----Original Message----- From: Renaud PORTIER - Orange [mailto:dj.no@xxxxxxxxx] Sent: Wednesday, September 14, 2005 9:49 AM To: [ExchangeList] Subject: [exchangelist] RE : RE: Accessing the "Contacts" field of Outlook items http://www.MSExchange.org/ Server is Exchange 2000. I think this is an NT authentication, but I don't really know ... I've never entered any user or password value to get an ADO connection. However, I don't think there is an authentication problem because I can get values of the other fields. I guess there is a problem with property's name. -----Message d'origine----- De : Michael B. Smith [mailto:michael@xxxxxxxxxx] Envoyé : mercredi 14 septembre 2005 15:34 À : [ExchangeList] Objet : [exchangelist] RE: Accessing the "Contacts" field of Outlook items http://www.MSExchange.org/ What server are you running it on? (An Exchange server?) What kind of authentication is on the webpage? -----Original Message----- From: Reno [mailto:dj.no@xxxxxxxxx] Sent: Wednesday, September 14, 2005 9:26 AM To: [ExchangeList] Subject: [exchangelist] Accessing the "Contacts" field of Outlook items http://www.MSExchange.org/ Hi, here is a problem I can figure out. I have to get the value of the Contacts field that appears in several standard Outlook items such as appointments or activities. I got the name for that property thanks to a Outlook views managment panel (SQL tab), but I can't read it in my server-side application. Here is a sample of the code. The field that corresponds to the Contacts (Links property in Outlook 2003 object model) doesn't seem to be initialized because its value is Nothing. Does anybody knows what is the problem ? Dim RecordSet As New ADODB.Recordset Dim Record As New ADODB.Record Dim SourceQuery As String = "SELECT ""DAV:href"" FROM scope('shallow traversal of ""http://localhost:81/public/MyFolder"";')" Dim Conn As New ADODB.Connection Conn.Provider = "ExOLEDB.DataSource" Conn.Open(Folder) Try RecordSet.Open( _ SourceQuery, _ Conn, _ ADODB.CursorTypeEnum.adOpenDynamic, _ ADODB.LockTypeEnum.adLockUnspecified, _ ADODB.CommandTypeEnum.adCmdUnspecified) While Not RecordSet.EOF Record.Open(RecordSet("DAV:href").Value, Conn, ADODB.ConnectModeEnum.adModeRead) MsgBox(Record.Fields("http://schemas.microsoft.com/mapi/id/{00062008-000 0-0000-C000-000000000046}/8586001f").Value) Record.Close() RecordSet.MoveNext() End While Catch ex As Exception MsgBox(ex.Message) End Try If RecordSet.State = ADODB.ObjectStateEnum.adStateOpen Then RecordSet.Close() End If ------------------------------------------------------ List Archives: http://www.webelists.com/cgi/lyris.pl?enter=exchangelist Exchange Newsletters: http://www.msexchange.org/pages/newsletter.asp ------------------------------------------------------ Visit TechGenix.com for more information about our other sites: http://www.techgenix.com ------------------------------------------------------ You are currently subscribed to this MSEXchange.org Discussion List as: michael@xxxxxxxxxx To unsubscribe visit http://www.webelists.com/cgi/lyris.pl?enter=exchangelist Report abuse to listadmin@xxxxxxxxxxxxxx ------------------------------------------------------ List Archives: http://www.webelists.com/cgi/lyris.pl?enter=exchangelist Exchange Newsletters: http://www.msexchange.org/pages/newsletter.asp ------------------------------------------------------ Visit TechGenix.com for more information about our other sites: http://www.techgenix.com ------------------------------------------------------ You are currently subscribed to this MSEXchange.org Discussion List as: dj.no@xxxxxxxxx To unsubscribe visit http://www.webelists.com/cgi/lyris.pl?enter=exchangelist Report abuse to listadmin@xxxxxxxxxxxxxx ------------------------------------------------------ List Archives: http://www.webelists.com/cgi/lyris.pl?enter=exchangelist Exchange Newsletters: http://www.msexchange.org/pages/newsletter.asp ------------------------------------------------------ Visit TechGenix.com for more information about our other sites: http://www.techgenix.com ------------------------------------------------------ You are currently subscribed to this MSEXchange.org Discussion List as: michael@xxxxxxxxxx To unsubscribe visit http://www.webelists.com/cgi/lyris.pl?enter=exchangelist Report abuse to listadmin@xxxxxxxxxxxxxx