-
ASP and outlook
I wonder if i can get access to the global adresslist which is in outlook
from an asp page.
-
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.
-
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
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|