<?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: VBA - Use data not loaded in ArcMap - Use data directly from source? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24095#M627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The ArcGIS Desktop applications are built using ArcObjects.&amp;nbsp; The Add Data command uses workspace factories, workspaces, feature classes, etc. when adding data to the map.&amp;nbsp; Not having the data already in the map will affect performance because more time is needed to make the data connections.&amp;nbsp; Other than that, it should work pretty much the same.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again Neil - I've got the code changes made and functioning.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Nov 2010 16:10:19 GMT</pubDate>
    <dc:creator>ShaunConway</dc:creator>
    <dc:date>2010-11-19T16:10:19Z</dc:date>
    <item>
      <title>VBA - Use data not loaded in ArcMap - Use data directly from source?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24091#M623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good Morning - Thanks in advance for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm a novice at VBA and need some help in what may be a simple question. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written some code that incorporates an event listener, which when triggered, spatially intersects the newly created point with a polygon layer. The attribution from this polygon layer is then used to populate a corresponding field in the point layer. The use of this tool generated interest from other users. They would now like to run this same process iteratively, collecting attribute values from a series (10+) of polygon layers whenever a new point (address point) is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have expanded the tool to make this possible, however, it requires that the source (polygon) layers be within the map document. Is there a way to do this without having all of the source layers loaded in the map document? Can I call the data directly from the sql db?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 12:16:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24091#M623</guid>
      <dc:creator>ShaunConway</dc:creator>
      <dc:date>2010-11-19T12:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Use data not loaded in ArcMap - Use data directly from source?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24092#M624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, use IWorkspaceFactory to open a workspace (IFeatureWorkspace).&amp;nbsp; Use IFeatureWorkspace.OpenFeatureClass to open the datasource.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 12:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24092#M624</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2010-11-19T12:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Use data not loaded in ArcMap - Use data directly from source?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24093#M625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, use IWorkspaceFactory to open a workspace (IFeatureWorkspace).&amp;nbsp; Use IFeatureWorkspace.OpenFeatureClass to open the datasource.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the quick response Neil! I do have a follow up question if you don't mind. What effect might this have on performance? I'm sure its dependent on FC size etc etc. I'm unfamiliar with how the app handles this command in the background - is the performance similar to loading the FC say from the "add data" command?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Again Neil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shaun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 13:21:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24093#M625</guid>
      <dc:creator>ShaunConway</dc:creator>
      <dc:date>2010-11-19T13:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Use data not loaded in ArcMap - Use data directly from source?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24094#M626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ArcGIS Desktop applications are built using ArcObjects.&amp;nbsp; The Add Data command uses workspace factories, workspaces, feature classes, etc. when adding data to the map.&amp;nbsp; Not having the data already in the map will affect performance because more time is needed to make the data connections.&amp;nbsp; Other than that, it should work pretty much the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 14:55:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24094#M626</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2010-11-19T14:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Use data not loaded in ArcMap - Use data directly from source?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24095#M627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The ArcGIS Desktop applications are built using ArcObjects.&amp;nbsp; The Add Data command uses workspace factories, workspaces, feature classes, etc. when adding data to the map.&amp;nbsp; Not having the data already in the map will affect performance because more time is needed to make the data connections.&amp;nbsp; Other than that, it should work pretty much the same.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again Neil - I've got the code changes made and functioning.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 16:10:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/vba-use-data-not-loaded-in-arcmap-use-data/m-p/24095#M627</guid>
      <dc:creator>ShaunConway</dc:creator>
      <dc:date>2010-11-19T16:10:19Z</dc:date>
    </item>
  </channel>
</rss>

