Hi,
I need to start working with the Outlook 2000 Object Model in order to retrieve an up-to-date list of all members of staff in Outlook so that I can put them into a table in my application, for further use.
Can anyone give me any pointers on how to get started on this? I will be doing all this from within an ASP page.
Thanks,
K
---------------------
I've got something sorted now. This code works in Visual Basic, but when I copy it over to my ASP page I get the error shown:
Dim objAddressList
Set objAddressList = Application.GetNamespace("MAPI").AddressLists.Item(1).AddressEntries
For i = 1 To objAddressList.Count
Debug.Print objAddressList.Item(i)
Next
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'GetNamespace'
/staff_list.asp, line 87
'Live, love and learn'
Edited by - Kristabel on 09 August 2001 11:51:15