<?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 Foreground/Background execution in ArcDesktop 10 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/foreground-background-execution-in-arcdesktop-10/m-p/556895#M15050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm relatively new to working with ArcObjects &amp;amp; ArcGIS, so please forgive me if I'm asking a question with an obvious answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm updating some COM extensions that were developed for ArcDesktop 9.x to work with Arc 10.&amp;nbsp; Everything has gone pretty smoothly except for one problem.&amp;nbsp; Some of the tools in the extension only work if they run in the foreground.&amp;nbsp; I've figured out why this is, but fixing it so they run in the background ArcSOCP process will probably take a fair bit of time (which I don't have a lot of).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my question is this... is there a way to programatically set a function/tool to force it to run in the foreground without disabling background processing globally?&amp;nbsp; I've noticed that there is a "Always run in foreground" checkbox on tool properties, but this is greyed out and uncheckable.&amp;nbsp; Is there some way of enabling this checkbox (programatically or otherwise)?&amp;nbsp; If I can't set a tool to run in the foreground, is there some particular reason for that (tool chaining, for example)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help &amp;amp; respones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Aug 2010 18:10:34 GMT</pubDate>
    <dc:creator>MichaelSavigny</dc:creator>
    <dc:date>2010-08-04T18:10:34Z</dc:date>
    <item>
      <title>Foreground/Background execution in ArcDesktop 10</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/foreground-background-execution-in-arcdesktop-10/m-p/556895#M15050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm relatively new to working with ArcObjects &amp;amp; ArcGIS, so please forgive me if I'm asking a question with an obvious answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm updating some COM extensions that were developed for ArcDesktop 9.x to work with Arc 10.&amp;nbsp; Everything has gone pretty smoothly except for one problem.&amp;nbsp; Some of the tools in the extension only work if they run in the foreground.&amp;nbsp; I've figured out why this is, but fixing it so they run in the background ArcSOCP process will probably take a fair bit of time (which I don't have a lot of).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my question is this... is there a way to programatically set a function/tool to force it to run in the foreground without disabling background processing globally?&amp;nbsp; I've noticed that there is a "Always run in foreground" checkbox on tool properties, but this is greyed out and uncheckable.&amp;nbsp; Is there some way of enabling this checkbox (programatically or otherwise)?&amp;nbsp; If I can't set a tool to run in the foreground, is there some particular reason for that (tool chaining, for example)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help &amp;amp; respones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 18:10:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/foreground-background-execution-in-arcdesktop-10/m-p/556895#M15050</guid>
      <dc:creator>MichaelSavigny</dc:creator>
      <dc:date>2010-08-04T18:10:34Z</dc:date>
    </item>
  </channel>
</rss>

