<?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: BrowserPane.Control is throwing an exception in .Net8 Addin in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/browserpane-control-is-throwing-an-exception-in-net8-addin/m-p/13012027#M171610</link>
    <description>&lt;P&gt;Thanks for your reply. It works now. Thank you so much.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2024 05:27:00 GMT</pubDate>
    <dc:creator>esalvaJSAU5</dc:creator>
    <dc:date>2024-09-11T05:27:00Z</dc:date>
    <item>
      <title>BrowserPane.Control is throwing an exception in .Net8 Addin</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/browserpane-control-is-throwing-an-exception-in-net8-addin/m-p/13010813#M171570</link>
      <description>&lt;P&gt;I created a custom addin project, This addin has a Test button in the ribbon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The button click event will add a new BrowserPane to the active document. Im using AddByManifest to load the un managed active x control.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During the execution of AddByManifest() the temporary MessageBox in the FormLoad event will shown, which makes me think that the control is loaded properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when i try to access the BrowsePane.Control property, It is throwing an exception.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Does anyone have an idea on how to fix this problem ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached the CustomAddin that i created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esalvaJSAU5_0-1725946590809.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1407346i384C6FC0AD3E2DD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esalvaJSAU5_0-1725946590809.png" alt="esalvaJSAU5_0-1725946590809.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 05:36:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/browserpane-control-is-throwing-an-exception-in-net8-addin/m-p/13010813#M171570</guid>
      <dc:creator>esalvaJSAU5</dc:creator>
      <dc:date>2024-09-10T05:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: BrowserPane.Control is throwing an exception in .Net8 Addin</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/browserpane-control-is-throwing-an-exception-in-net8-addin/m-p/13011642#M171599</link>
      <description>&lt;P&gt;I looked into your code and I don't understand why you need to use BrowserPane when the requested content is derived from Windows.Forms.UserControl.&lt;/P&gt;&lt;P&gt;Isn't it better to use &lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-BBE4333E-494C-463E-BD49-DD7298C4834D" target="_blank" rel="noopener"&gt;DockableWindow&lt;/A&gt;? C# sample is available for example &lt;A href="https://github.com/CSmichaelnavara/SelectionInfo/blob/master/SelectionInfo/SelectionInfo/StandardAddInServer.cs" target="_blank"&gt;here on my GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Method&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-E773D248-5098-4775-BEA2-9E3AEE94955E" target="_blank" rel="noopener"&gt;BrowserPanes.AddByManifest&lt;/A&gt; is designed for placing ActiveX objects which is not your case in my opinion.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 13:50:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/browserpane-control-is-throwing-an-exception-in-net8-addin/m-p/13011642#M171599</guid>
      <dc:creator>Michael.Navara</dc:creator>
      <dc:date>2024-09-10T13:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: BrowserPane.Control is throwing an exception in .Net8 Addin</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/browserpane-control-is-throwing-an-exception-in-net8-addin/m-p/13012019#M171608</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 16:32:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/browserpane-control-is-throwing-an-exception-in-net8-addin/m-p/13012019#M171608</guid>
      <dc:creator>esalvaJSAU5</dc:creator>
      <dc:date>2024-09-10T16:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: BrowserPane.Control is throwing an exception in .Net8 Addin</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/browserpane-control-is-throwing-an-exception-in-net8-addin/m-p/13012027#M171610</link>
      <description>&lt;P&gt;Thanks for your reply. It works now. Thank you so much.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 05:27:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/browserpane-control-is-throwing-an-exception-in-net8-addin/m-p/13012027#M171610</guid>
      <dc:creator>esalvaJSAU5</dc:creator>
      <dc:date>2024-09-11T05:27:00Z</dc:date>
    </item>
  </channel>
</rss>

