<?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 Control accessed from a thread other than the thread it was created on in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/control-accessed-from-a-thread-other-than-the/m-p/250073#M6466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got an application that was written for ArcEngine using vs2005/.net 2.&amp;nbsp; I've migrated the code to 3.5.&amp;nbsp; I'm now getting an error during the InitializeComponent method in the constructor of the main form saying that i'm trying to access my axMapMain control outside of the thread it was created on. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error is happening on &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ((System.ComponentModel.ISupportInitialize)(this.axMapMain)).EndInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;axMapMain is a customControl that inherits from MapControl.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know my AO but have not worked with Engine until now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kyle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Feb 2011 17:54:08 GMT</pubDate>
    <dc:creator>kyleknoche</dc:creator>
    <dc:date>2011-02-16T17:54:08Z</dc:date>
    <item>
      <title>Control accessed from a thread other than the thread it was created on</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/control-accessed-from-a-thread-other-than-the/m-p/250073#M6466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got an application that was written for ArcEngine using vs2005/.net 2.&amp;nbsp; I've migrated the code to 3.5.&amp;nbsp; I'm now getting an error during the InitializeComponent method in the constructor of the main form saying that i'm trying to access my axMapMain control outside of the thread it was created on. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error is happening on &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ((System.ComponentModel.ISupportInitialize)(this.axMapMain)).EndInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;axMapMain is a customControl that inherits from MapControl.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know my AO but have not worked with Engine until now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kyle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 17:54:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/control-accessed-from-a-thread-other-than-the/m-p/250073#M6466</guid>
      <dc:creator>kyleknoche</dc:creator>
      <dc:date>2011-02-16T17:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Control accessed from a thread other than the thread it was created on</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/control-accessed-from-a-thread-other-than-the/m-p/250074#M6467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I forgot to mention : my machine is 64bit.&amp;nbsp; I don't know if that is the problem but i know that if I don't set the build to x86 when I build a brand new ArcEngine app with a MapControl on it that it bugs out (different error) on that same line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Very confusing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 18:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/control-accessed-from-a-thread-other-than-the/m-p/250074#M6467</guid>
      <dc:creator>kyleknoche</dc:creator>
      <dc:date>2011-02-16T18:35:38Z</dc:date>
    </item>
  </channel>
</rss>

