<?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 CopyFeatures and Geoprocessor changed after SDK 10.0? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/copyfeatures-and-geoprocessor-changed-after-sdk-10/m-p/469993#M3144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have been using this simple C# code to copy featureclasses between geodatabases (ArcObjects SDK 10.0):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;using ESRI.ArcGIS.DataManagementTools;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;using ESRI.ArcGIS.Geoprocessor;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CopyFeatures cf = new CopyFeatures;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cf.in_features = "C:\\geodb1.mdb\\MyFeatureClass";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cf.out_feature_class = "C:\\geodb2.gdb\\MyFeatureClass";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Geoprocessor gp = new Geoprocessor();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;gp.OverwriteOutput = true;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;gp.AddOutputsToMap = false;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;gp.Execute(cf,null);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After installing ArcObjects 10.3, "Geoprocessor.Execute()" is using other parameters, but somehow I cannot find any code examples or documentation dealing with this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Ola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Sep 2015 19:41:44 GMT</pubDate>
    <dc:creator>OlaRennemo</dc:creator>
    <dc:date>2015-09-27T19:41:44Z</dc:date>
    <item>
      <title>CopyFeatures and Geoprocessor changed after SDK 10.0?</title>
      <link>https://community.esri.com/t5/developers-questions/copyfeatures-and-geoprocessor-changed-after-sdk-10/m-p/469993#M3144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have been using this simple C# code to copy featureclasses between geodatabases (ArcObjects SDK 10.0):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;using ESRI.ArcGIS.DataManagementTools;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;using ESRI.ArcGIS.Geoprocessor;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CopyFeatures cf = new CopyFeatures;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cf.in_features = "C:\\geodb1.mdb\\MyFeatureClass";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cf.out_feature_class = "C:\\geodb2.gdb\\MyFeatureClass";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Geoprocessor gp = new Geoprocessor();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;gp.OverwriteOutput = true;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;gp.AddOutputsToMap = false;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;gp.Execute(cf,null);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After installing ArcObjects 10.3, "Geoprocessor.Execute()" is using other parameters, but somehow I cannot find any code examples or documentation dealing with this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Ola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2015 19:41:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/copyfeatures-and-geoprocessor-changed-after-sdk-10/m-p/469993#M3144</guid>
      <dc:creator>OlaRennemo</dc:creator>
      <dc:date>2015-09-27T19:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: CopyFeatures and Geoprocessor changed after SDK 10.0?</title>
      <link>https://community.esri.com/t5/developers-questions/copyfeatures-and-geoprocessor-changed-after-sdk-10/m-p/469994#M3145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The signature for this class hasn't changed between the 10.x versions. I'd assume that the intellisense in Visual Studio is showing you the unmanaged signature for this assembly. The geoprocessor should provide you with the following signatures:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Geoprocessor.Execute(IGPProcess, ITrackCancel) // Managed&lt;/P&gt;&lt;P&gt;Geoprocessor.Execute(String, IVariantArray, ITrackCancel) // Unmanaged&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the relevant information about running a managed or unmanaged tool should be available on the following page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to run a Geoprocessing tool&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000003rr000000"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000003rr000000&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 01:57:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/copyfeatures-and-geoprocessor-changed-after-sdk-10/m-p/469994#M3145</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-09-28T01:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: CopyFeatures and Geoprocessor changed after SDK 10.0?</title>
      <link>https://community.esri.com/t5/developers-questions/copyfeatures-and-geoprocessor-changed-after-sdk-10/m-p/469995#M3146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see it now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;ESRI.ArcGIS.Geoprocessing.GeoProcessor gpUnManaged = new ESRI.ArcGIS.Geoprocessing.GeoProcessor();&lt;/P&gt;&lt;P&gt;gpUnManaged.Execute(name, params, trackCancel);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VS&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;ESRI.ArcGIS.Geoprocessor.Geoprocessor gpManaged = new ESRI.ArcGIS.Geoprocessor.Geoprocessor();&lt;/P&gt;&lt;P&gt;gpManaged.Execute(tool,trackCancel);&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details, details...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 19:13:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/copyfeatures-and-geoprocessor-changed-after-sdk-10/m-p/469995#M3146</guid>
      <dc:creator>OlaRennemo</dc:creator>
      <dc:date>2015-09-28T19:13:03Z</dc:date>
    </item>
  </channel>
</rss>

