hi , 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 have an error : on GP.execute(dissolve,nothing)
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 <> esriJobStatus.esriJobSucceeded Then
Console.WriteLine("disolve erreur layer: " & featureLayerRoute.Name)
End If
pleaaaase someone HELP Meee :'( :'(