2037vicky

VBScript code cannot run under ArcGIS 10

Discussion created by 2037vicky on Oct 14, 2011
Latest reply on Oct 19, 2011 by jakubsisak
My VBScript code can run under ArcGIS9.3.1, but not under ArcGIS 10

' Create the Geoprocessor object
set gp = WScript.CreateObject("esriGeoprocessing.GPDispatch.1")
gp.AddToolbox "C:/Program Files/ArcGIS/Desktop10.0/ArcToolbox/Toolboxes/Conversion Tools.tbx"

Error Information
Error: Could not create object named "esriGeoprocessing.GPDispatch.1"
Source: WScript.CreateObject


Thank you

Outcomes