Kriging problem

Discussion created by tryagaaa on Jun 2, 2011
Latest reply on Jun 13, 2011 by rchasan

When I using the AO example in the end of the page(in Visual Basic Editor in GIS)
The compiler give me a error message

Compile error:

Sub or Function not defined

and the error occur at

Set pInputDataset = OpenPointDataset("D:\SpatialData", "inputpoint")

and highlight on


I have checked my reference

it's have
ESRI Geoprocessing Object Library
ESRI GeoprocessingUI Object Library

what's wrong with it?how do I fix it?