anton

Geoprocess Progress in foreground

Discussion created by anton on Mar 25, 2011
Latest reply on Mar 25, 2011 by VPrasad-esristaff
Hello,

I execute programmatically (vb.net) a geoprocess from the toolbox. In ArcMap I have a commandbutton that execute this geoprocess-tool. If I start this tool from toolbox, I get the progress dialog, but when I start this tool programmatically I get no feetback - why?


Dim gp As ESRI.ArcGIS.Geoprocessing.IGeoProcessor2 = New ESRI.ArcGIS.Geoprocessing.GeoProcessor
Dim pVariantArray As ESRI.ArcGIS.esriSystem.IVariantArray = New ESRI.ArcGIS.esriSystem.VarArray
Dim pTrackCancel As ESRI.ArcGIS.esriSystem.ITrackCancel = New ESRI.ArcGIS.Display.CancelTracker
pTrackCancel.CancelOnClick = True
pVariantArray.Add(pWorkspace)
gp.LogHistory = True
gp.Execute(sToolname, pVariantArray, pTrackCancel)




Thanks for answers,
Anton

Outcomes