Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having trouble with generating some random points along a network. I am trying to do it with Arcobjects in the VBA environment. I would be grateful if you could help me.

share|improve this question

If you have either an ArcInfo, 3D Analyst, or Spatial Analyst license you could use the Create Random Points (Data Management) tool to create random points along line features.

You can call geoprocessing tools from VBA, but you should know that VBA is being deprecated and is not available in 10.1 and later. This UC presentation suggests how you can migrate from VBA/VB6 to the .NET framework.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.