Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Outlook Object Model
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Kristabel
New Member

United Kingdom
83 Posts

Posted - 08 August 2001 :  11:38:12  Show Profile  Visit Kristabel's Homepage
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
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07