DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: ASP and outlook

  1. #1
    Jonas Guest

    ASP and outlook


    I wonder if i can get access to the global adresslist which is in outlook
    from an asp page.

  2. #2
    brogersmcp Guest

    Re: ASP and outlook


    sure, just use vbscript to read the registry and voila...

    "HKEY_CURRENT_USER\Software\Microsoft\WAB\..."

    just be careful, this is the backbone of the "love virus"


    -b.


    "Jonas" <it96jwe@du.se> wrote:
    >
    >I wonder if i can get access to the global adresslist which is in outlook
    >from an asp page.



  3. #3
    Prasanna Guest

    Re: ASP and outlook


    Try the following code. Declare all objXXX as objects. Once you get AddressEntries
    collection, you can loop through it, to get AddressEntry objects.

    For more info, see Thomas Rizzo's book "Programming Outlook and Exchange".
    It's really a good one.

    Set objSession = CreateObject("MAPI.Session")

    strProfileInfo = MyExchangeServer & vbLf & MyExchangeUser
    objSession.Logon , , False, True, , False, strProfileInfo

    'Logon complete. Now fetching GAL (Global Address List)
    Set objAddressList = objSession.GetAddressList(0)
    Set objAddressEntries = objAddressList.AddressEntries


    "Jonas" <it96jwe@du.se> wrote:
    >
    >I wonder if i can get access to the global adresslist which is in outlook
    >from an asp page.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center