You can get the x,y points of the junctions by querying the from/to junctions. For example, you can:
dim pFromPoint as IPoint
set pFromPoint = new Point
and then inside the loop after the QueryJunction call:
pNEFromJunc.QueryPoint pFromPoint
and now you can access the coordinates:
debug.print pFromPoint.X
debug.print pFromPoint.Y
repeat the above for the pNEToJunc
Hope that is what you wanted.
Regards,
Jay Sandhu