<?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: Dynamically enable/disable "changed" Event handlers?</title><link>https://www.infopathdev.com:443/forums/thread/119790.aspx</link><pubDate>Wed, 12 Sep 2018 14:02:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119790</guid><dc:creator>Th Calu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=119790</wfw:commentRss><description>Thanks for your quick answer....

At this time, I did like you (using a global flag), but It&amp;#39;s not a perfect solution against events bubbling, performances etc... 

I try with delegate, addhandler/removehandler, syntax of InfoPath 2003 etc... without any succes :(</description></item><item><title>Re: Dynamically enable/disable "changed" Event handlers?</title><link>https://www.infopathdev.com:443/forums/thread/119789.aspx</link><pubDate>Wed, 12 Sep 2018 11:44:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119789</guid><dc:creator>meissen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119789.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=119789</wfw:commentRss><description>I haven&amp;#39;t found a solution as of yet. I just use a global flag and if it&amp;#39;s not true I exit the procedure.</description></item><item><title>Re: Dynamically enable/disable "changed" Event handlers?</title><link>https://www.infopathdev.com:443/forums/thread/119788.aspx</link><pubDate>Wed, 12 Sep 2018 09:15:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119788</guid><dc:creator>Th Calu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119788.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=119788</wfw:commentRss><description>Hello,

did somebody find a solution ?</description></item><item><title>Dynamically enable/disable "changed" Event handlers?</title><link>https://www.infopathdev.com:443/forums/thread/107802.aspx</link><pubDate>Mon, 29 Aug 2016 20:09:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107802</guid><dc:creator>meissen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107802.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=107802</wfw:commentRss><description>Does anyone know if there&amp;#39;s a way to programmatically enable/disable &amp;quot;Changed&amp;quot; event handlers in VB? I have a form with 11 repeating sections that are built out using VB loops. Each time a row is added, my &amp;quot;Changed&amp;quot; event handlers get triggered. Although the first line of the &amp;quot;Changed&amp;quot; event sub is an &amp;quot;if not (flag) then return&amp;quot; which stops the Changed event at the first line of the sub, it still slows down my code execution. With the event handlers enabled I&amp;#39;m averaging ~142 seconds to execute my loops. With the event handlers disabled, I&amp;#39;m averaging 80 seconds. Big difference when you&amp;#39;re waiting for the form to build out and be usable.&lt;br /&gt;&lt;br /&gt;
I have already tried moving &amp;quot;AddHandler&amp;quot; and &amp;quot;RemoveHandler&amp;quot; outside of the Startup method and received error messages for such. Was wondering if anyone else knew of some tricks to stop these change events from triggering?</description></item></channel></rss>