<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ashraf's Blog &#187; Outlook</title>
	<atom:link href="http://ashrafur.wordpress.com/category/programming/outlook/feed/" rel="self" type="application/rss+xml" />
	<link>http://ashrafur.wordpress.com</link>
	<description>Weblogs of Ashrafur Rahaman</description>
	<lastBuildDate>Wed, 16 Dec 2009 14:32:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='ashrafur.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/ee9ead71c89b7a06482cd3fb859f57a3?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Ashraf's Blog &#187; Outlook</title>
		<link>http://ashrafur.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ashrafur.wordpress.com/osd.xml" title="Ashraf&#8217;s Blog" />
		<item>
		<title>Retrieving Outlook Contact Lists using Javascript</title>
		<link>http://ashrafur.wordpress.com/2008/03/14/retrieving-outlook-contact-lists-using-javascript/</link>
		<comments>http://ashrafur.wordpress.com/2008/03/14/retrieving-outlook-contact-lists-using-javascript/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 09:37:33 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Outlook]]></category>
		<category><![CDATA[import contacts]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=109</guid>
		<description><![CDATA[Sometime we may need to import contact from client machine&#8217;s outlook, in this case we can write javascript to import outlook contacts easily. Here is the code how to do that.
var Const_olFolderContacts = 10;
var objApp = new ActiveXObject(&#8220;Outlook.Application&#8221;);
var objNS = objApp.GetNamespace(&#8220;MAPI&#8221;);
var colContacts = objNS.GetDefaultFolder(Const_olFolderContacts).Items
for( var i=1; i&#60;=colContacts.count;i++)
{
 var v = colContacts.item(i);
 alert(v["FullName"]+&#8221; (&#8220;+v["Email1Address"]+&#8221;)&#8221;);
}
if this code does not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=109&subd=ashrafur&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sometime we may need to import contact from client machine&#8217;s outlook, in this case we can write javascript to import outlook contacts easily. Here is the code how to do that.</p>
<p>var Const_olFolderContacts = 10;<br />
var objApp = new ActiveXObject(&#8220;Outlook.Application&#8221;);<br />
var objNS = objApp.GetNamespace(&#8220;MAPI&#8221;);<br />
var colContacts = objNS.GetDefaultFolder(Const_olFolderContacts).Items<br />
for( var i=1; i&lt;=colContacts.count;i++)<br />
{<br />
 var v = colContacts.item(i);<br />
 alert(v["FullName"]+&#8221; (&#8220;+v["Email1Address"]+&#8221;)&#8221;);<br />
}</p>
<p>if this code does not works , please do the following so it should work</p>
<p>In Internet Explorer , go to Tools | Internet Options | Security  -&gt; from &#8216;Custom Level&#8217; go to &#8216;Initialize and script ActiveX controls not marked as safe for scripting&#8217; and select &#8216;Prompt&#8221; &#8212; this should work now</p>
<p>have got a big detailes code here, you can check this too <a href="http://gzoli.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;_c=BlogPart&amp;partqs=amonth%3D12%26ayear%3D2005" title="another code link">another code</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ashrafur.wordpress.com/109/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ashrafur.wordpress.com/109/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=109&subd=ashrafur&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2008/03/14/retrieving-outlook-contact-lists-using-javascript/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
	</channel>
</rss>