Tagged Questions
1
vote
2answers
166 views
How to define Subroutines and functions?
I am working in VBA. My error is sub and function are not defined. Here is my code:
Private Sub CreateMap(cboDistrict As String)
Dim mapDocument As New mapDocument
If ...
5
votes
1answer
1k views
How to save a layer file with a relative path
In VBA, how do you save a layer file (.lyr) with a relative path?
I have some code that loads a shapefile into ArcMap but I am unsure of how I go about using this shapefile to then save a layer file ...
4
votes
3answers
116 views
How do you navigate the ArcObjects OMDS?
How does everyone get round navigating the different OMD's I can work with single interfaces no problem, but when i have to use multiple interfaces I struggle to get my head round go through different ...
3
votes
1answer
427 views
ArcObjects VBA: Setting Spatial Reference for Geometry Bag
Greetings,
Within the ESRI SDK resources there is an example of combining polygons by use of a geometry bag. The following code appears:
'Define the spatial reference of the bag before adding ...
3
votes
2answers
268 views
Getting line FID from polygon ITopologyGraph
I want to export polygon Arc list to txt file for that
I created topologygraph for personal geodatabase feature class (polygon)
using ITopologyGraph::build.
I got polygon FIDs but I am not getting ...