<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Programmatically select all items in a multiple-selection list box</title><link>https://www.infopathdev.com:443/forums/thread/75055.aspx</link><pubDate>Tue, 07 Feb 2012 18:08:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75055</guid><dc:creator>bush3102</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75055.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=75055</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I used this and it seemed to help.&lt;/p&gt;&lt;p&gt;&amp;nbsp;http://www.bizsupportonline.net/blog/2009/03/programmatically-retrieve-selected-items-multiple-selection-list-box-infopath/ &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Use this URL to convert the C++ to VB.NET&lt;/p&gt;&lt;p&gt;&amp;nbsp;http://www.developerfusion.com/tools/convert/csharp-to-vb/&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hope this helps. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Programmatically select all items in a multiple-selection list box</title><link>https://www.infopathdev.com:443/forums/thread/72040.aspx</link><pubDate>Mon, 14 Nov 2011 18:24:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72040</guid><dc:creator>jfrade</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72040.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=72040</wfw:commentRss><description>&lt;p&gt;Hi, may I have help with the following?&amp;nbsp; I wish to select all items in a multiple selection list box by having the user click a button.&amp;nbsp; I followed the steps provided below in VB.&amp;nbsp;&amp;nbsp; I have been getting an error when using the function, AddItem.&amp;nbsp; &amp;quot;Object reference not set to an instance of an object.&amp;quot;&amp;nbsp; Any help, if allowed, would be great.&amp;nbsp; Thanks &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.bizsupportonline.net/infopath2007/programmatically-select-all-items-multi-select-list-box.htm"&gt;http://www.bizsupportonline.net/infopath2007/programmatically-select-all-items-multi-select-list-box.htm&lt;/a&gt;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>