USForestServiceAdmin

How to implement arcpy in vb.net

Discussion created by USForestServiceAdmin on Apr 30, 2012
Hello all,

I have written the following code, which works great in the python window in ArcGIS:

arcpy.SelectLayerByLocation_management("LBTU_SP","SHARE_A_LINE_SEGMENT_WITH","LBTU_SP","","NEW_SELECTION")

How would I implement this in VB.Net, using visual studion 2008?  It doesn't seem to recognize arcpy.

Outcomes