Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Can I use the Outlook Addressbook used in webpage?


Message #1 by "Jeff G" <lists@2...> on Sat, 16 Dec 2000 00:00:32 -0000
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


  Return to Index