I want to execute one of my tools (which I created with Model Builder). I can execute a built-in tool by this code, but when I change the tool name with Model Tool Names it doesn't work.
I gathered information about referencing a new *.tbx file into a VB.Net project but it doesn't work properly. (When I use 'ArcGIS Toolbar Reference', nothing happens.)
Please help me.
This is my code for built-in tools:
Public Function CreateTempFileGDB() As Boolean Dim GP As ESRI.ArcGIS.Geoprocessor.Geoprocessor = Nothing GP = New ESRI.ArcGIS.Geoprocessor.Geoprocessor() GP.OverwriteOutput = True Dim parameters As IVariantArray = New VarArray parameters.Add(tempFolderPath) parameters.Add("tempFGDB") Try GP.Execute("CreateFileGDB_management", parameters, Nothing) Catch ex As Exception Return False End Try Return True End Function