which in turn getse me IFeature, the property i needed class id etc. But how can i continue the path down the geometric network? I assume i need a recursion, but I seem to be stuck and there seems to be no examples on the web whatsoever, plus the documentation is a bit shoddy.
You say "...how can I continue the path down the geometric network". From your description it sounds like you were starting at a location and then trying to traverse downstream, say a river network? Well a better way would be to SOLVE the routing problem then process the returned edges. You solve network tracing problems with the ITraceFlowSolver interface. The FindPath method returns an enumerator over the edges that make up the route. From that you can drill down to the individual features and query any associated attributes.
Sounds like I've missed a step or two, thank you for nudging me to the right direction.
I can go one better, here is some old VBA code I had developed to create a route between 2 points on a river network. This will certainly help you in understand the steps as it's not immediately obvious what the sequence is!
Some of it may not be relevant to you as this function is trying to return a polyline.
MsgBox "Network is not valid! Bailing out now to stop system crash.", vbCritical, "Fatal Error!"
' Now do it all again with the second point!
Show_message_in_StatusBar "Turning trace into polyline..."
Thank you again, once im back to project regarding traversing I'll use this excerpt.