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.
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.