hi guys i have a little problem. I need to access a database using vb.net to create a shortest path solver using vb.net. Say for example the shortest route for a product being sent from london to moscow. I can acess the database but dont know how to sort the cities in an adjacancy list.How does london for example know it is 2 vertices away from paris? i have a hunch it is a dimensional array, but unsure. any help would be greatly appreciated, thanks.