An object-oriented programming language from Microsoft. It is the .NET version of the Visual Basic (VB) programming language.
1
vote
1answer
81 views
Difficulties in dissolving stream orders
I've been trying to dissolve streams, using orders programatically and I came across this VB script. The reason is that if I use ArcGIS dissolve, it merges the confluence of the same orders. I would ...
4
votes
0answers
246 views
Creating a VB.net Dataset in Visual Studio 2010 from an SDE Geodatabase
I am building an ArcMap Addin that contains several Windows Forms with controls that need to be bound to a database. I am trying to decide whether or not to use a native SQL Server Database or an SDE ...
2
votes
0answers
42 views
Problem when executing Dissolve method in ArcEngine
I'm always having a problem in GP.execute() when trying to execute this method. Here is my code:
Friend Function DissolveFeatures(ByVal pInFLayer As ESRI.ArcGIS.Carto.IFeatureLayer, ByVal ...
2
votes
0answers
187 views
How can I copy selected polygon features to a polyline feature class with ArcObjects?
I would like to copy selected polygon features to a polyline feature class. (Similar to how polygon features can be copied and pasted inside an edit session in ArcMap)
Until recently I've been using ...
2
votes
0answers
21 views
How to implement VisibleBoundsUpdatedEventHandler
I have an ArcObjects add-in button that adds attribute value info as a text graphic into a map document layout. Now, instead of using the add-in button click event, I would like the code to run on ...
2
votes
0answers
90 views
How to solve a filename conflict problem?
I use a procedure to remove and delete a feature layer with a certain name. Then, using another procedure which is called during the run time of the program (as the remove and delete procedure as ...
2
votes
0answers
170 views
ArcGIS Desktop 10 - MyBase.UpdateBitmap()
I am changing one icon on my extension toggle toolbar in runtime using:
MyBase.UpdateBitmap(New Bitmap(Me.GetType(), bitmapResourceName))
This works fine but I get a border/highlight around my ...
1
vote
0answers
62 views
Error Input FeatureClass Arcgis 10 VB.net And Geoprocessing
I have a problem when i execute GeoProcessing in ArcEngine 10 with VB.net
i had create the toolbox : Models.tbx
and Model Process : disolveRoute with 2 parameters
My Function is :
Sub diso()
...
1
vote
0answers
83 views
ArcGIS Server - Polygon lines dimenstions
How to measure the lines of polygon . VB.NET + ArcGIS Server .
I have ArcGIS Server 9.3 - WebADF - VB.NET
1
vote
0answers
108 views
Sending coordinates of features of any polygon featureclass to a table
I am trying to store x-coordinates and y-coordinates of a polygon feature in a table. But, i am getting an error message: Item not found in this collection. The code is like this:
Do
pFeature = ...
1
vote
0answers
119 views
How to get x and y coordinate values of an annotational featureclass
I am able to get the x and y coordinate values from point, polyline, polygon and multipoint type featureclasses. However, I am unable to export x and y coordinate values of an annotational ...
1
vote
0answers
77 views
How to get label text for each feature in vb.net in Arcview
I am trying to get text for the label that Arcview is going to place for each feature when the labeling is on, so that I can write it to a file. Since the labels may have complex operations involved, ...
1
vote
0answers
104 views
Map Algebra in VB.NET Add-In Tool
I'm trying to run a map algebra expression in a vb.net add-in, and can't seem to get it to work. It's a roving window that interpolates noData areas in a DEM. The expression works in the Python ...
1
vote
0answers
179 views
Create IPoint with Lat/Long in decimal degrees and Z in feet
I have written an ArcMap v10 AddIn that reads a folder of geotagged JPEG's and creates a new feature class where each point is the geotag information from on of the JPEG's. The issue is:
The GPS ...
1
vote
0answers
112 views
How can I denote the values of reclassification using variables?
I used the following lines of code to classify a raster. However, my problem is how can I denote the old and new classification values in the last code line using variables? Then number of values ...
1
vote
0answers
195 views
arcgis server 10, vb.net, adding dynamic data
i am using arcgis server 10, with visual web developer 2010 express edition. i downloaded "ArcGIS_AddDynamicData_VBNet\Default_ADF.aspx" project form ArcGIS Add dynamic data for ArcGIS Server 10. ...
1
vote
0answers
142 views
arcgis server 10, vb.net, non pooled service, web adf
i am running arcgis server 10. i created a A.MXD file, then started arcgis server and successfully added non-pooled service using A.MXD. i also installed visual web developer 2010 express and created ...
0
votes
0answers
41 views
How to turn off layers by default?
I am using vb.net, intergraph and oracle database. I am using 40 layers in my web map. I want to turn off the layers by default, so that the map loads fast. I want only the base map (5 layers) layers ...
0
votes
0answers
137 views
spatial query vb.net geomedia
I am trying to develop spatial query for selecting features within a polygon/ rectangle. Iam using vb.net for coding, geomedia for GIS and oracle spatial database.
0
votes
0answers
303 views
-2147220936 Coordinates Or Measures Are Out of Bounds — IFeature.Shape
I current have two tools that draw polygons using the same method. I dissolve the zones, delete the undissolved zones, and then add the dissolved polygon to the map.
I keep getting "Coordinates or ...
0
votes
0answers
89 views
Run time error for GP objects
I have a code with toolbars which I tried to run it in another PC but it failed. I get a run time error "Method Addtoolbox of object I GDispatch failed". The line that the code stacks is the last one ...
0
votes
0answers
237 views
How to solve a Run-time error 91?
I have a function which a part shown below. The problem is that I get a Run-time error 91 (object variable or with variable not set) and the debug highlights the last line of the code ( Set ...