<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unhandled Exception when using InputListBox in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/unhandled-exception-when-using-inputlistbox/m-p/14236035#M181563</link>
    <description>&lt;P&gt;Welcome to the community, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15993648"&gt;@steinarr34755&lt;/a&gt;&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Checking in to see if the information provided by WCrihfield or josebaqueror clarified your question. If either post did, please consider clicking on the 'Accept Solution' button on the post(s) that provided the clarity. If you still need assistance, please update here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2026 15:36:21 GMT</pubDate>
    <dc:creator>lauri_barnhart</dc:creator>
    <dc:date>2026-08-17T15:36:21Z</dc:date>
    <item>
      <title>Unhandled Exception when using InputListBox</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/unhandled-exception-when-using-inputlistbox/m-p/14233465#M181540</link>
      <description>&lt;P&gt;When using InputListBox in iLogic I get an Unhandled exception:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="steinarr34755_0-1786705382313.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1656421i48BAF97B583FC736/image-size/medium?v=v2&amp;amp;px=400" role="button" title="steinarr34755_0-1786705382313.png" alt="steinarr34755_0-1786705382313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This happens after the user chooses from the list box, pressing continue allows the script to keep going and the users choice does get passed on correctly so the script still works, apart from the above pop up.&lt;BR /&gt;&lt;BR /&gt;This happens on Inventor 2026.2 And, at least on my machine, happens when I run the InputListBox example code from:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/InventorCode/iLogicRules/blob/master/snippets/InputListBox-example.vb" target="_blank"&gt;https://github.com/InventorCode/iLogicRules/blob/master/snippets/InputListBox-example.vb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on how to prevent this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2026 11:07:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/unhandled-exception-when-using-inputlistbox/m-p/14233465#M181540</guid>
      <dc:creator>steinarr34755</dc:creator>
      <dc:date>2026-08-14T11:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled Exception when using InputListBox</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/unhandled-exception-when-using-inputlistbox/m-p/14233479#M181541</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15993648"&gt;@steinarr34755&lt;/a&gt;.&amp;nbsp; Have you read through the following Inventor Programming Forum discussion topic yet.&amp;nbsp; It is primarily about the InputListBox, and relatively new problems mentioned by another user recently.&amp;nbsp; If not, it may contain some useful information for your situation, because it has a lot of similarities.&amp;nbsp; It also has multiple accepted solutions, some of which may work for you too.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-programming-forum/critical-inventor-2027-ilogic-regression-inputlistbox-no-longer/m-p/14074996" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-programming-forum/critical-inventor-2027-ilogic-regression-inputlistbox-no-longer/m-p/14074996&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2026 11:29:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/unhandled-exception-when-using-inputlistbox/m-p/14233479#M181541</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2026-08-14T11:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled Exception when using InputListBox</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/unhandled-exception-when-using-inputlistbox/m-p/14234751#M181552</link>
      <description>Since it reproduces with the canonical InputListBox example and your result still comes through correctly, this is an internal exception inside iLogic's dialog surfacing as a popup in 2026.2, not something in your rule. A Try/Catch around the InputListBox call usually won't suppress it, because it's thrown and handled inside the dialog, not on your side. Two practical routes: 1. For production rules, swap InputListBox for your own small dialog. A System.Windows.Forms form with a ListBox and ShowDialog (or a tiny WPF window) gives you the same selection with full control and no surprise popup. It's a few lines and stable across versions. 2. If you want to stay on InputListBox, report it to Autodesk with exactly what you posted (the sample code plus 2026.2). Reproducing on the documented sample is a strong bug report. Does it also happen on an older release, or only 2026.2? If it's only 2026.2 it's almost certainly a regression in that build.</description>
      <pubDate>Sun, 16 Aug 2026 01:44:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/unhandled-exception-when-using-inputlistbox/m-p/14234751#M181552</guid>
      <dc:creator>josebaqueror</dc:creator>
      <dc:date>2026-08-16T01:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled Exception when using InputListBox</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/unhandled-exception-when-using-inputlistbox/m-p/14236035#M181563</link>
      <description>&lt;P&gt;Welcome to the community, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15993648"&gt;@steinarr34755&lt;/a&gt;&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Checking in to see if the information provided by WCrihfield or josebaqueror clarified your question. If either post did, please consider clicking on the 'Accept Solution' button on the post(s) that provided the clarity. If you still need assistance, please update here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2026 15:36:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/unhandled-exception-when-using-inputlistbox/m-p/14236035#M181563</guid>
      <dc:creator>lauri_barnhart</dc:creator>
      <dc:date>2026-08-17T15:36:21Z</dc:date>
    </item>
  </channel>
</rss>

