<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: control to get Outlook contacts</title><link>https://www.infopathdev.com:443/forums/thread/8050.aspx</link><pubDate>Thu, 20 Oct 2005 03:57:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8050</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8050.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8050</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;You can maybe do it with C# behind your form.&lt;br /&gt;You would need a Ref to the Microsoft Outlook Object Library&lt;br /&gt;&lt;br /&gt;then:&lt;br /&gt;Outlook._Application outlook = new Outlook.ApplicationClass();&lt;br /&gt;Outlook.NameSpace ns = outlook.GetNamespace("MAPI");&lt;br /&gt;Outlook.MAPIFolder cf  = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts);&lt;br /&gt;Outlook.Items ctcItems =  cf.Items;&lt;br /&gt;Outlook.ContactItem ctc;&lt;br /&gt;for(int j = 1; j &amp;lt; (ctcItems.Count + 1); j++)&lt;br /&gt;{ &lt;br /&gt;    ctc = (Outlook.ContactItem) ctcItems.Item(j);&lt;br /&gt;    // do something with the contact.&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;Hope that it helps.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>control to get Outlook contacts</title><link>https://www.infopathdev.com:443/forums/thread/5029.aspx</link><pubDate>Thu, 20 Oct 2005 02:46:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5029</guid><dc:creator>absMing</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5029.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5029</wfw:commentRss><description>Gday,&lt;br /&gt;&lt;br /&gt;Just wondering whether it's possible to have a button on the form, when clicked it will open a dialog box which will contain all of the users outlook contacts?  Probably not? any work arounds?&lt;br /&gt;&lt;br /&gt;Regards</description></item></channel></rss>