daxris Posted September 23, 2011 Report Share Posted September 23, 2011 Hey all. I am a student from Greece, so I m really sorry for my English! I try to make my dissertation which has to do with programming ArcObjects with VBA. I have a shapefile with some roads of an area. I have to use the Djikstra's algorithm in general. But, as you can understand, I have first change programmatically the length of some roads. Is there anyone to help me?? Thanks Quote Link to comment Share on other sites More sharing options...
3dbu Posted September 23, 2011 Report Share Posted September 23, 2011 http://youtu.be/psg2-6-CEXg this algorithm it see very interesting ...i goint to search more information may be help you. regards Quote Link to comment Share on other sites More sharing options...
daxris Posted September 24, 2011 Author Report Share Posted September 24, 2011 Thank you for your reply. It's quite useful. As you understood I have to adapt the shortest path theory. So, I have programmatically to make a programm, in which you can choose from where you want to go and where to arrive, (from A to B for example), and this will suggest you the shortest path. Do you have any ideas?? Sorry for my english again... Quote Link to comment Share on other sites More sharing options...
Lurker Posted September 25, 2011 Report Share Posted September 25, 2011 documentation for ESRI developer provide many example script, like this [hide] http://edndoc.esri.com/arcobjects/8.3/Samples/Spatial%20Analyst/DistanceShortestPath.htm [/hide] I dont know much bout VBA programming, but i suggest you to browse to those sites regards 1 Quote Link to comment Share on other sites More sharing options...
daxris Posted September 26, 2011 Author Report Share Posted September 26, 2011 Thank you very much for the link. It can be very useful. If you find anything else about programming ArcObjects with VBA it would be crucial for me... Quote Link to comment Share on other sites More sharing options...
Lurker Posted September 27, 2011 Report Share Posted September 27, 2011 as I mentioned earlier, this sites : [hide] http://edndoc.esri.com [/hide] is the best resource for you :grin: Quote Link to comment Share on other sites More sharing options...
daxris Posted September 28, 2011 Author Report Share Posted September 28, 2011 Thanks for all guys. Is there anyone who knows how can I use an XML file in VBA programming? Surely it can be done programmatically but I cant find how. To be more specific, I have an XML file in which I have some informations such as ID's, coordinations etc. I want to open it programmatically, and make a code in which For id=1 to maxID If x > 329308.95 and x < 335778.42 then If y > 4098095.805 and y < 4102028.150 then newID = id Xid = x Yid = y end if end if next id I can take all the x's and y's in a square..! Quote Link to comment Share on other sites More sharing options...
3dbu Posted September 28, 2011 Report Share Posted September 28, 2011 iv very nice man this thks for share....tellme something it work... Quote Link to comment Share on other sites More sharing options...
daxris Posted September 29, 2011 Author Report Share Posted September 29, 2011 it doesnt work to me just because i cant "upload" the xml file that concludes all the information needed. Do you have any idea how can I upload it?? Quote Link to comment Share on other sites More sharing options...
moawad74 Posted May 27, 2013 Report Share Posted May 27, 2013 Which is most usable now arcobject, VBA, or Python? and why?! Thanx Quote Link to comment Share on other sites More sharing options...
kwuoko Posted November 10, 2013 Report Share Posted November 10, 2013 would you like to tell me about ur dissertation ? i have a plan to make my thesis using Arcobject VBA but I still confused what should I make using this type programming. If U want to tell me, I think it'll give me an idea. Thank U Quote Link to comment Share on other sites More sharing options...
bdsmolla Posted November 18, 2013 Report Share Posted November 18, 2013 The purpose of VBA and Python in fact popular to make easy repeated/iteration-able work inside ArcGIS desktop product. Mostly you need to open core product than you can use your developed tool/button etc. However you also can make GUI using third party/or your developed modules if you are strong on that. But you need to have desktop license installed in your computer. ArcObject offer mainly to make standalone solution through Dot Net framework. To deploy your development you will need runtime license. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.