Spatial Query Using Attribute table

Discussion created by crazymatt on Apr 16, 2011
Latest reply on Apr 18, 2011 by nupplaphil
I'm fairly new to ArcObjects and I'm having trouble with something. I have a form where the user selects a feature from a shapefile. Then I want to use that feature to do a spatial query on another shapefile, and return the names of the the features in the second shapefile that intersect with the selected feature of the first.

I've got some of the basic code, what I'm having a hard time figuring out is how to set the selection set to the selected feature in the first shapefile.

Any ideas?