You probably will have to implement the IObjectSafety and
olelib.IObjectWithSite interfaces that declare an object is safe for
scripting and safe for initialization. Then from there you would use normal
Outlook coding.
You can google for information about implementing those interfaces, or look
them up in the MSDN library. My code samples for that are in VB 6 code so I
don't think they would translate to how you can do it in jscript, if you
can.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"jayanthv" <jayanthv.1rqhmx.DeleteThis@NoSpamPleaze.com> wrote in message
news:jayanthv.1rqhmx@NoSpamPleaze.com...
>
> Hello All,
>
> I want to display outlook address book through Javascript or vbscript
> language? I have created a OCX(active-x component) and displayed in the
> browser. But for this we need to change the browser security properties.
> As OCX as unsafe to run in browser it always prompts with a warning
> message.
>
> Is there a way to get the local outlook address book from the local
> machine through scripting languages?
>
> Please help me...
>
>
> --
> jayanthv
> ------------------------------------------------------------------------
> jayanthv's Profile: http://www.officehelp.in/member.php?userid=103
> View this thread: http://www.officehelp.in/showthread.php?t=694449
> Visit - http://www.officehelp.in |
> http://www.officehelp.in/archive/index.php |
> http://www.officehelp.in/index/index.php
>