Anyway to make the client-side vbscript below work? Like to have a user
select a contact from the local outlook addressbook then have their
selection(s) be returned back to a element in a webpage. Any ideas?
<SCRIPT LANGUAGE=vbscript>
On Error GoTo ErrorHandler
Dim gCDOSession
Set gCDOSession = CreateObject("MAPI.Session")
gCDOSession.Logon()
Set eNCOUNTER_Recipients = gCDOSession.AddressBook()
'Use msgbox below to deplay contact info select from addressbook.
msgbox(eNCOUNTER_Recipients(1))
ErrorHandler:
If Err.Number <> CdoE_USER_CANCEL Then
Err.Raise Err.Number
End If
</SCRIPT>
Thanks in advance,
Jeff
jeff@2...
---
http://www.asptoday.com - the leading site for timely,
in-depth information for ASP developers everywhere.
---
You are currently subscribed to asp_cdo as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_cdo-$subst('Recip.MemberIDChar')@p2p.wrox.com