I am working with ArcObjects and ESRI for the first time, and I am trying to do what is probably a simple task.
I have a map control in VBA that is associated with a mxd.
I have a table with XY data, and XY data is non-spatial, but the XY is in the same coordinate system as the mxd.
I can get the XY data into a ITable, but I cannot seem to get the ISpatialReference from the map control.
I would like to create a symbolized layer from the non-spatial coordinates, and add it to the map control.
Any samples in VBA of how to do this would be very appreciated.
Thanks again for you time and patience.