<?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 Execute ModelBuilder With Geoprocessor On VB.net in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/execute-modelbuilder-with-geoprocessor-on-vb-net/m-p/421161#M14201</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;SPAN&gt;i have a model builder and i want to execute with VB.net ? and i want to execute dissolve with geoprocessor the problem is i&amp;nbsp; have an error : on GP.execute(dissolve,nothing) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
Sub diso()
Dim gp As ESRI.ArcGIS.Geoprocessor.Geoprocessor = New ESRI.ArcGIS.Geoprocessor.Geoprocessor()
Dim FeatureFusion As IFeatureLayer = New FeatureLayer
Dim disolve As ESRI.ArcGIS.DataManagementTools.Dissolve = New ESRI.ArcGIS.DataManagementTools.Dissolve(featureLayerRoute, FeatureFusion)
gp.OverwriteOutput = True
disolve.dissolve_field = "typeroute"

Dim results As IGeoProcessorResult = CType(gp.Execute(disolve, Nothing), IGeoProcessorResult) 'erreur ici 
If results.Status &amp;lt;&amp;gt; esriJobStatus.esriJobSucceeded Then
Console.WriteLine("disolve erreur layer: " &amp;amp; featureLayerRoute.Name)
End If
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pleaaaase someone HELP Meee :'( :'(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2013 16:49:45 GMT</pubDate>
    <dc:creator>AbdelMounaimTAOUSSI</dc:creator>
    <dc:date>2013-04-10T16:49:45Z</dc:date>
    <item>
      <title>Execute ModelBuilder With Geoprocessor On VB.net</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/execute-modelbuilder-with-geoprocessor-on-vb-net/m-p/421161#M14201</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;SPAN&gt;i have a model builder and i want to execute with VB.net ? and i want to execute dissolve with geoprocessor the problem is i&amp;nbsp; have an error : on GP.execute(dissolve,nothing) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
Sub diso()
Dim gp As ESRI.ArcGIS.Geoprocessor.Geoprocessor = New ESRI.ArcGIS.Geoprocessor.Geoprocessor()
Dim FeatureFusion As IFeatureLayer = New FeatureLayer
Dim disolve As ESRI.ArcGIS.DataManagementTools.Dissolve = New ESRI.ArcGIS.DataManagementTools.Dissolve(featureLayerRoute, FeatureFusion)
gp.OverwriteOutput = True
disolve.dissolve_field = "typeroute"

Dim results As IGeoProcessorResult = CType(gp.Execute(disolve, Nothing), IGeoProcessorResult) 'erreur ici 
If results.Status &amp;lt;&amp;gt; esriJobStatus.esriJobSucceeded Then
Console.WriteLine("disolve erreur layer: " &amp;amp; featureLayerRoute.Name)
End If
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pleaaaase someone HELP Meee :'( :'(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 16:49:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/execute-modelbuilder-with-geoprocessor-on-vb-net/m-p/421161#M14201</guid>
      <dc:creator>AbdelMounaimTAOUSSI</dc:creator>
      <dc:date>2013-04-10T16:49:45Z</dc:date>
    </item>
  </channel>
</rss>

