AnsweredAssumed Answered

vb.net arcobjects run "Summary Statistics" GeoProcessing tool

Question asked by littleleaf on Sep 18, 2014
Latest reply on Sep 21, 2014 by littleleaf

Hello all,

 

I am now trying to use vb.net to run "Summary Statistics" GeoProcessing tool. The corresponding parameters in the "Summary Statistics" GeoProcessing is as follows:

 

 

mapsummary.jpg

 

The vb.net code:

 

Dim GP As GeoProcessor = New GeoProcessor()

        Dim parameters As IVariantArray = New VarArray

        parameters.Add("geri_db.DBO.BQ_Segment_1")
        parameters.Add("C:\Users\lyao\Documents\ArcGIS\Default.gdb\BQ_Segment_1_Statistics1")
        parameters.Add("geri_db.DBO.BQ_Segment_1.OBJECTID")
        parameters.Add("MAX")

        GP.Execute("Summary_Statistics_analysis", parameters, Nothing)

Outcomes